# ZSH aliases # # $Revision: 2.3 $ $Date: 2019-01-30 01:17:03-05 $ # $UUID: e48296ef-9f9d-5109-b1fe-1951495cefbf $ alias 1='%1' alias 2='%2' alias 3='%3' alias 4='%4' alias 5='%5' alias 6='%6' alias 7='%7' alias 8='%8' alias 9='%9' alias today='cd ~/today && cwd' alias friday='cd ~/friday && cwd' alias monday='cd ~/monday && cwd' alias saturday='cd ~/saturday && cwd' alias sunday='cd ~/sunday && cwd' alias thursday='cd ~/thursday && cwd' alias tuesday='cd ~/tuesday && cwd' alias wednesday='cd ~/wednesday && cwd' alias yesterday='cd ~/yesterday && cwd' alias tomorrow='cd ~/tomorrow && cwd' alias a='agenda' alias back='cd "$current"' alias cp='nocorrect cp' # no spelling correction on cp alias fix='source ~/.termrc.xterm' alias history='fc -l 1' alias j='jobs -dl' alias mkdir='nocorrect mkdir' # no spelling correction on mkdir alias mv='nocorrect mv' # no spelling correction on mv alias rh='rehash' alias unsetenv=unset alias z='suspend' # number conversions - brian d foy alias d2h="perl -e 'printf qq|%X\n|, int( shift )'" alias h2d="perl -e 'printf qq|%d\n|, hex( shift )'" # replace run-help alias with home-grown version unalias run-help alias run-help=zman # ------------------------------------------------------------------------- # THINGS WE DON'T WANT # the builtin pwd prints the symbolic link instead of the real directory disable pwd # I use scripts called "r", "which", and "mx". # To make .zcompdump have them use _files instead of their default: # me% compdef _files r # me% compdef _files mx # me% compdump disable r test -x "/bin/gwhich" || disable which