Forráskód Böngészése

apt cache, faster git completion, new gibl alias

no longer checks whether a file is being tracked by git
raylu 14 éve
szülő
commit
df86c489d0
1 módosított fájl, 6 hozzáadás és 0 törlés
  1. 6 0
      zshrc

+ 6 - 0
zshrc

@@ -6,6 +6,11 @@ zmodload -a complist
 zstyle ':completion:*' matcher-list 'm:{a-z}={A-Z}' 'r:|[._-]=* r:|=*' 'l:|=* r:|=*'
 zstyle ':completion:*' list-colors ${(s.:.)LS_COLORS}
 zstyle ':completion:*' use-compctl false
+zstyle ':completion:*' use-cache on
+zstyle ':completion:*' cache-path ~/.zshcache
+__git_files () {
+	_wanted files expl 'local files' _files
+}
 zstyle :compinstall filename '/home/raylu/.zshrc'
 
 HISTFILE=~/.histfile
@@ -78,6 +83,7 @@ alias gis='git status'
 alias gid='git diff -C --date=local'
 alias giw='git show -C --date=local'
 alias gic='git checkout'
+alias gibl='gil master..HEAD'
 alias class='xprop -notype WM_CLASS'
 alias tree='tree -AvL 10'
 alias vil='vi *(.om[1])'