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

general.aliases: Run `which gshuf` in if condition
This commit is contained in:
Nils Winkler
2017-06-27 08:17:27 +02:00
committed by GitHub

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