bash aliases
1 2 # These save typing, I use them a lot 3 4 alias sd='cd -' > /dev/null 5 alias cx='chmod +x' 6 alias which="type -path" 7 8 # This goes back to Unix v7, some time around 1985 I think. 9 10 alias lf='ls -CF' 11 12 # From my 'C' shell days. Those were almost 20 years ago as well. Sigh. 13 14 alias h='fc -l -20' 15 alias r='fc -s' 16 17 # Because real men use 'vi' and why use character mode if you have X? 18 19 alias vi='gvim'