Merge pull request #987 from dsharp-pivotal/patch-1
general.aliases: Run `which gshuf` in if condition
This commit is contained in:
@@ -27,8 +27,7 @@ then
|
|||||||
export GREP_COLOR='1;33'
|
export GREP_COLOR='1;33'
|
||||||
fi
|
fi
|
||||||
|
|
||||||
which gshuf &> /dev/null
|
if which gshuf &> /dev/null
|
||||||
if [ $? -eq 0 ]
|
|
||||||
then
|
then
|
||||||
alias shuf=gshuf
|
alias shuf=gshuf
|
||||||
fi
|
fi
|
||||||
|
|||||||
Reference in New Issue
Block a user