Fix exit code check when setting alias for gshuf.

pull/339/head
Greg Nofi 2014-09-18 10:20:44 -04:00
parent 10c9d91063
commit 6f1e045d5b
1 changed files with 1 additions and 1 deletions

View File

@ -16,7 +16,7 @@ then
alias ls="ls --color=auto"
fi
which gshuf &> /dev/null
if [ $? -eq 1 ]
if [ $? -eq 0 ]
then
alias shuf=gshuf
fi