dblume commited on 2025-05-09 22:13:08
Showing 1 changed files, with 3 additions and 3 deletions.
Exclude the directory by default.
| ... | ... |
@@ -110,9 +110,9 @@ export P4DIFF='vim -d' # Override from the command line: "P4DIFF=; p4 diff main |
| 110 | 110 |
export CSCOPE_EDITOR=vim |
| 111 | 111 |
export RIPGREP_CONFIG_PATH=$HOME/.ripgreprc |
| 112 | 112 |
|
| 113 |
-alias grep='grep --color=auto' |
|
| 114 |
-alias fgrep='fgrep --color=auto' |
|
| 115 |
-alias egrep='egrep --color=auto' |
|
| 113 |
+alias grep='grep --color=auto --exclude-dir=.git' |
|
| 114 |
+alias fgrep='fgrep --color=auto --exclude-dir=.git' |
|
| 115 |
+alias egrep='egrep --color=auto --exclude-dir=.git' |
|
| 116 | 116 |
alias tmux='tmux -2u' |
| 117 | 117 |
|
| 118 | 118 |
# colored GCC warnings and errors |
| 119 | 119 |