Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
O
oh-my-zsh
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
JIRA
JIRA
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
github
oh-my-zsh
Commits
dcf12ba8
Unverified
Commit
dcf12ba8
authored
Jan 16, 2015
by
Nicolas Cavigneaux
Committed by
Marc Cornellà
Dec 13, 2021
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix(mercurial): show author name in `hgsl` alias log alias (#3500)
Closes #3500
parent
5b987e59
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
23 additions
and
22 deletions
+23
-22
README.md
plugins/mercurial/README.md
+22
-21
mercurial.plugin.zsh
plugins/mercurial/mercurial.plugin.zsh
+1
-1
No files found.
plugins/mercurial/README.md
View file @
dcf12ba8
...
@@ -11,27 +11,28 @@ plugins=(... mercurial)
...
@@ -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`
...
...
plugins/mercurial/mercurial.plugin.zsh
View file @
dcf12ba8
...
@@ -10,7 +10,7 @@ alias hgd='hg diff'
...
@@ -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'
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment