From: Robert R Evans Date: Sat, 2 Oct 2010 22:29:23 +0000 (-0700) Subject: Added a generic aliases help X-Git-Url: https://source.supwisdom.com/gerrit/gitweb?a=commitdiff_plain;h=5e0e86f70543890df3daf8e551aa6a319278c3f9;p=common%2Fbash_it.git Added a generic aliases help --- diff --git a/bash_it.sh b/bash_it.sh index 3f52aba..78e32be 100644 --- a/bash_it.sh +++ b/bash_it.sh @@ -60,5 +60,7 @@ function bash-it() { echo echo " rails-help This will list out all the aliases you can use with rails." echo " git-help This will list out all the aliases you can use with git." + echo " aliases-help Generic list of aliases." + echo } \ No newline at end of file diff --git a/lib/aliases.bash b/lib/aliases.bash index 4152374..49e89ce 100644 --- a/lib/aliases.bash +++ b/lib/aliases.bash @@ -20,4 +20,23 @@ alias h='history' # Directory alias md='mkdir -p' alias rd=rmdir -alias d='dirs -v' \ No newline at end of file +alias d='dirs -v' + +function aliases-help() { + echo "Generic Alias Usage" + echo + echo " sl = ls" + echo " ls = ls -G" + echo " la = ls -AF" + echo " ll = ls -al" + echo " l = ls -a" + echo " c/k = clear" + echo " .. = cd .." + echo " ... = cd ../.." + echo " - = cd -" + echo " h = history" + echo " md = mkdir -p" + echo " rd = rmdir" + echo " d = dirs -v" + echo +} \ No newline at end of file