mirror of
https://github.com/ohmyzsh/ohmyzsh.git
synced 2026-01-02 02:19:06 +01:00
Adding pretty log to git plugin (gplg).
This commit is contained in:
parent
f657107dd4
commit
04d7bda8fb
1 changed files with 2 additions and 0 deletions
|
|
@ -30,6 +30,8 @@ alias glg='git log --stat --max-count=5'
|
|||
compdef _git glg=git-log
|
||||
alias glgg='git log --graph --max-count=5'
|
||||
compdef _git glgg=git-log
|
||||
alias gplg="git log --no-merges --graph --pretty=format:'%Cred%h%Creset - %C(green)%aN%Creset -%C(yellow)%d%Creset %s %Cgreen(%cr)%Creset' --abbrev-commit --date=relative"
|
||||
compdef _git gplg=git-log
|
||||
alias gss='git status -s'
|
||||
compdef _git gss=git-status
|
||||
alias ga='git add'
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue