make grep quiet
This commit is contained in:
parent
d4ef219b73
commit
a7b7ef5401
2
zshrc
2
zshrc
|
@ -283,7 +283,7 @@ precmd() {
|
|||
|
||||
# Remove unwanted aliases
|
||||
|
||||
( where fd | grep -E '\/s?bin\/fd' ) && alias fd &>/dev/null && unalias fd
|
||||
( where fd | grep -qE '\/s?bin\/fd' ) && alias fd &>/dev/null && unalias fd
|
||||
|
||||
# Clean up global aliases
|
||||
source <(alias -g | awk -F= '/^[A-Za-z]+/{print $1}' | xargs -I{} -n1 echo unalias "'{}'")
|
||||
|
|
Loading…
Reference in New Issue