mirror of
https://github.com/ohmyzsh/ohmyzsh.git
synced 2024-11-22 13:50:09 +00:00
fix(mercurial): show author name in hgsl
alias log alias (#3500)
Closes #3500
This commit is contained in:
parent
5b987e59d0
commit
dcf12ba8f3
2 changed files with 23 additions and 22 deletions
|
@ -11,27 +11,28 @@ plugins=(... mercurial)
|
||||||
|
|
||||||
## Aliases
|
## Aliases
|
||||||
|
|
||||||
| Alias | Command |
|
| Alias | Command |
|
||||||
|--------|-------------------------------------------------------------------------------------------------------------|
|
| ------- | ------------------------------------------- |
|
||||||
| `hga` | `hg add` |
|
| `hga` | `hg add` |
|
||||||
| `hgc` | `hg commit` |
|
| `hgc` | `hg commit` |
|
||||||
| `hgca` | `hg commit --amend` |
|
| `hgca` | `hg commit --amend` |
|
||||||
| `hgb` | `hg branch` |
|
| `hgb` | `hg branch` |
|
||||||
| `hgba` | `hg branches` |
|
| `hgba` | `hg branches` |
|
||||||
| `hgbk` | `hg bookmarks` |
|
| `hgbk` | `hg bookmarks` |
|
||||||
| `hgco` | `hg checkout` |
|
| `hgco` | `hg checkout` |
|
||||||
| `hgd` | `hg diff` |
|
| `hgd` | `hg diff` |
|
||||||
| `hged` | `hg diffmerge` |
|
| `hged` | `hg diffmerge` |
|
||||||
| `hgp` | `hg push` |
|
| `hgp` | `hg push` |
|
||||||
| `hgs` | `hg status` |
|
| `hgs` | `hg status` |
|
||||||
| `hgsl` | `hg log --limit 20 --template "{node|short} | {date|isodatesec} | {author|user}: {desc|strip|firstline}\n"` |
|
| `hgsl` | `hg log --limit 20 --template "<template>"` |
|
||||||
| `hgun` | `hg resolve --list` |
|
| `hgun` | `hg resolve --list` |
|
||||||
| `hgi` | `hg incoming` |
|
| `hgi` | `hg incoming` |
|
||||||
| `hgl` | `hg pull -u` |
|
| `hgl` | `hg pull -u` |
|
||||||
| `hglr` | `hg pull --rebase` |
|
| `hglr` | `hg pull --rebase` |
|
||||||
| `hgo` | `hg outgoing` |
|
| `hgo` | `hg outgoing` |
|
||||||
| `hglg` | `hg log --stat -v` |
|
| `hglg` | `hg log --stat -v` |
|
||||||
| `hglgp`| `hg log --stat -p -v` |
|
| `hglgp` | `hg log --stat -p -v` |
|
||||||
|
|
||||||
## Prompt usage
|
## Prompt usage
|
||||||
|
|
||||||
- Switch to a theme which uses `hg_prompt_info`
|
- Switch to a theme which uses `hg_prompt_info`
|
||||||
|
|
|
@ -10,7 +10,7 @@ alias hgd='hg diff'
|
||||||
alias hged='hg diffmerge'
|
alias hged='hg diffmerge'
|
||||||
alias hgp='hg push'
|
alias hgp='hg push'
|
||||||
alias hgs='hg status'
|
alias hgs='hg status'
|
||||||
alias hgsl='hg log --limit 20 --template "{node|short} | {date|isodatesec} | {author|user}: {desc|strip|firstline}\n"'
|
alias hgsl='hg log --limit 20 --template "{node|short} | {date|isodatesec} | {author|person}: {desc|strip|firstline}\n" '
|
||||||
alias hgun='hg resolve --list'
|
alias hgun='hg resolve --list'
|
||||||
# pull and update
|
# pull and update
|
||||||
alias hgi='hg incoming'
|
alias hgi='hg incoming'
|
||||||
|
|
Loading…
Reference in a new issue