Skip to content

Commit 4b822a6

Browse files
committed
bashrc: erased DABIAN which error msg.
1 parent bd97a60 commit 4b822a6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

bashrc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -114,7 +114,7 @@ alias nano='nano -w'
114114
alias ed='ed -p: -v' # ED for Eununchs hackers.
115115

116116
# 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'
117+
_is_posix || which --version 2>/dev/null | grep -q GNU && alias which='(alias; declare -f) | which -i --read-functions'
118118

119119
# Misc stuffs
120120
FIGNORE='~'

0 commit comments

Comments
 (0)