Prechádzať zdrojové kódy

fix colour in git log

Somehow did not notice before that the commit points were coloured cyan...
weiyi 12 rokov pred
rodič
commit
956d100855
1 zmenil súbory, kde vykonal 2 pridanie a 2 odobranie
  1. 2 2
      zsh/omz-custom/git.zsh

+ 2 - 2
zsh/omz-custom/git.zsh

@@ -13,9 +13,9 @@ alias gf='git fetch --tags && git fetch --prune'
 alias gbd='git branch -D'
 alias gbd='git branch -D'
 
 
 # standard log with train tracks
 # standard log with train tracks
-alias gl='git log --graph --pretty="format:%C(yellow)%h%Cgreen%d %Cblue[%an] %Creset%s... %C(cyan)%ar"'
+alias gl='git log --graph --pretty="format:%C(yellow)%h%Cgreen%d %Cblue[%an] %Creset%s... %C(cyan)%ar%Creset"'
 # concise, branch and tag log with train tracks (some merge commits unavoidable)
 # concise, branch and tag log with train tracks (some merge commits unavoidable)
-alias glb='git log --all --simplify-by-decoration --pretty="format:%C(yellow)%h%Cgreen%d %Cblue[%an] %Creset%s... %C(cyan)%ar"'
+alias glb='gl --simplify-by-decoration'
 alias glp='git log --patch'
 alias glp='git log --patch'
 # useful when you want to have a visual on file changes
 # useful when you want to have a visual on file changes
 alias gls='git log --graph --stat'
 alias gls='git log --graph --stat'