Merge pull request #987 from dsharp-pivotal/patch-1

general.aliases: Run `which gshuf` in if condition
pull/988/head^2
Nils Winkler 2017-06-27 08:17:27 +02:00 committed by GitHub
commit c51ad5e255
1 changed files with 1 additions and 2 deletions

View File

@ -27,8 +27,7 @@ then
export GREP_COLOR='1;33'
fi
which gshuf &> /dev/null
if [ $? -eq 0 ]
if which gshuf &> /dev/null
then
alias shuf=gshuf
fi