Add alias for shuf -> gshuf

pull/76/merge
Mark Szymanski 2011-08-10 18:49:07 -05:00
parent dcdfd66d2a
commit e964c029aa
1 changed files with 29 additions and 24 deletions

View File

@ -12,7 +12,12 @@ alias _="sudo"
if [ $(uname) = "Linux" ] if [ $(uname) = "Linux" ]
then then
alias ls="ls --color=always" alias ls="ls --color=always"
fi
if [ ! -z "$(which gshuf)" ]
then
alias shuf=gshuf
fi fi
alias c='clear' alias c='clear'
@ -47,27 +52,27 @@ alias md='mkdir -p'
alias rd=rmdir alias rd=rmdir
function aliases-help() { function aliases-help() {
echo "Generic Alias Usage" echo "Generic Alias Usage"
echo echo
echo " sl = ls" echo " sl = ls"
echo " ls = ls -G" echo " ls = ls -G"
echo " la = ls -AF" echo " la = ls -AF"
echo " ll = ls -al" echo " ll = ls -al"
echo " l = ls -a" echo " l = ls -a"
echo " c/k/cls = clear" echo " c/k/cls = clear"
echo " .. = cd .." echo " .. = cd .."
echo " ... = cd ../.." echo " ... = cd ../.."
echo " - = cd -" echo " - = cd -"
echo " h = history" echo " h = history"
echo " md = mkdir -p" echo " md = mkdir -p"
echo " rd = rmdir" echo " rd = rmdir"
echo " editor = $EDITOR" echo " editor = $EDITOR"
echo " pager = $PAGER" echo " pager = $PAGER"
echo " piano = pianobar" echo " piano = pianobar"
echo " q = exit" echo " q = exit"
echo " irc = $IRC_CLIENT" echo " irc = $IRC_CLIENT"
echo " md = mkdir -p" echo " md = mkdir -p"
echo " rd = rmdir" echo " rd = rmdir"
echo " rb = ruby" echo " rb = ruby"
echo echo
} }