We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent bd97a60 commit 4b822a6Copy full SHA for 4b822a6
bashrc
@@ -114,7 +114,7 @@ alias nano='nano -w'
114
alias ed='ed -p: -v' # ED for Eununchs hackers.
115
116
# A standard alias for which (debianutils vs GNU)
117
-_is_posix || which --version | grep GNU &>/dev/null && alias which='(alias; declare -f) | which -i --read-functions'
+_is_posix || which --version 2>/dev/null | grep -q GNU && alias which='(alias; declare -f) | which -i --read-functions'
118
119
# Misc stuffs
120
FIGNORE='~'
0 commit comments