浏览代码

Better super-grep

Signed-off-by: Gaetan Semet <gaetan@xeberon.net>
Gaetan Semet 12 年之前
父节点
当前提交
dbcaafd03b
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      plugins/common-aliases/common-aliases.plugin.zsh

+ 1 - 1
plugins/common-aliases/common-aliases.plugin.zsh

@@ -17,7 +17,7 @@ alias lrt='ls -1Fcrt'
 alias zshrc='vim ~/.zshrc' # Quick access to the ~/.zshrc file
 
 alias grep='grep --color'
-alias sgrep='grep -R -n -H -C 5'
+alias sgrep='grep -R -n -H -C 5 --exclude-dir={.git,.svn,CVS} '
 
 alias t='tail -f'