make grep quiet

This commit is contained in:
psox 2021-07-07 10:43:47 +01:00
parent d4ef219b73
commit a7b7ef5401
1 changed files with 1 additions and 1 deletions

2
zshrc
View File

@ -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 "'{}'")