# Andrew McNabb's shrc (zsh and bash compatible rc file) # Note that zsh runs ~/.zshrc only for interactive shells. See shenv for # commands that should be run for _all_ shells. export EDITOR="vim" export PAGER="less" export COLORFGBG="default;default" # I hate popup dialogs from gnome-ssh-askpass. export SSH_ASKPASS="" ############################################################################## # Aliases # Try to get myself in the habit of typing vim: unalias vi >/dev/null 2>&1 function vi () { echo Vim is better than Vi; } # I hate ls with coloring unalias ls >/dev/null 2>&1 alias aoeu="setxkbmap us; xmodmap $HOME/.xmodmap-pointer1; xmodmap $HOME/.xmodmap-pointer2" alias asdf="setxkbmap us dvorak; xmodmap $HOME/.xmodmap-pointer1; xmodmap $HOME/.xmodmap-pointer2" # I can never remember what the enscript options are: alias pretty1="enscript -GE" alias pretty2="enscript -G2rE" if [[ -e /usr/bin/mutt-mcnabbs ]]; then alias mutt=/usr/bin/mutt-mcnabbs fi