1
0
Fork 0
mirror of https://github.com/ohmyzsh/ohmyzsh.git synced 2024-12-18 10:22:00 +00:00

feat(mercurial): add hg log aliases (#9979)

Co-authored-by: Michał Kielan <kielanm@fb.com>
This commit is contained in:
TheTechRobo 2021-10-04 09:55:18 -04:00 committed by GitHub
parent d304635b8c
commit 717ece07ef
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 4 additions and 1 deletions

View file

@ -30,7 +30,8 @@ plugins=(... mercurial)
| `hgl` | `hg pull -u` |
| `hglr` | `hg pull --rebase` |
| `hgo` | `hg outgoing` |
| `hglg` | `hg log --stat -v` |
| `hglgp`| `hg log --stat -p -v` |
## Prompt usage
- Switch to a theme which uses `hg_prompt_info`

View file

@ -17,6 +17,8 @@ alias hgi='hg incoming'
alias hgl='hg pull -u'
alias hglr='hg pull --rebase'
alias hgo='hg outgoing'
alias hglg='hg log --stat -v'
alias hglgp='hg log --stat -p -v'
function in_hg() {
if $(hg branch > /dev/null 2>&1); then