rendered paste body# Lines configured by zsh-newuser-install
HISTFILE=~/.histfile
HISTSIZE=1000
SAVEHIST=1000
setopt appendhistory autocd extendedglob
unsetopt beep nomatch notify
bindkey -v
bindkey '\e[A' history-beginning-search-backward
bindkey '\e[B' history-beginning-search-forward
# End of lines configured by zsh-newuser-install
# The following lines were added by compinstall
PROMPT='%%: '
zstyle ':completion:*' completer _expand _complete _match _prefix _approximate _list
zstyle ':completion:*' format $'%{\e[0;33m%}completing %B%d%b%{\e[0m%}'
zstyle ':completion:*:messages' format '%d'
zstyle ':completion:*:warnings' format $'%{\e[4;1;31m%}No matches for:%{\e[0m%} %d'
zstyle ":completion:*:descriptions" format $'%{\e[0;33m%}%d:%{\e[0m%}'
zstyle ":completion:*:corrections" format $'%{\e[0;31m%}%d (errors: %e)%}'
LS_COLORS='no=00:fi=00:di=1;37:ln=01;36:pi=40;33:so=01;35:bd=40;33;01:cd=40;33;01:or=01;05;37;41:mi=01;05;37;41:ex=01;32:*.cmd=01;32:*.exe=01;32:*.com=01;32:*.btm=01;32:*.bat=01;32:*.sh=01;32:*.csh=01;32:*.tar=01;31:*.tgz=01;31:*.arj=01;31:*.taz=01;31:*.lzh=01;31:*.zip=01;31:*.z=01;31:*.Z=01;31:*.gz=01;31:*.bz2=01;31:*.bz=01;31:*.tz=01;31:*.rpm=01;31:*.cpio=01;31:*.jpg=01;35:*.gif=01;35:*.bmp=01;35:*.xbm=01;35:*.xpm=01;35:*.png=01;35:*.tif=01;35:'
export LS_COLORS
#zstyle ':completion:*:descriptions' format '%U%B%d%b%u'
#zstyle ':completion:*:warnings' format '%BSorry, no matches for: %d%b'
#zstyle ':completion::complete:*' use-cache 1
zstyle ':completion:*:kill:*' command 'ps -u $USER -o pid,%cpu,tty,cputime,cmd'
zstyle ':completion:*:kill:*' insert-ids single
zstyle ':completion:*:*:kill:*' menu yes select
zstyle ':completion:*:kill:*' force-list always
LISTMAX=0
#autoload -U promptinit
#promptinit
autoload -Uz compinit
compinit
autoload -U zsh-mime-setup
zsh-mime-setup
setopt correctall
setopt nocheckjobs # don't warn me about bg processes when exiting
setopt nohup # and don't kill them, either
setopt listpacked # compact completion lists
setopt dvorak # with spelling correction, assume dvorak kb
setopt completeinword # not just at the end
setopt correct # spelling correction
setopt cdablevars
# End of lines added by compinstall
alias mpcadd='mpc add && mpc play'
alias install='sudo apt-get install'
alias ls='ls --color'
alias ll='ls -lh'
alias uwcs='ssh ssorrell@cpu04.student.cs.uwaterloo.ca'
alias aoeu='xmodmap ~/.dvorak2qwerty.xmodmap'
alias asdf='xmodmap ~/.qwerty2dvorak.xmodmap'
alias pause='mpc toggle'
alias uwcs='ssh ssorrell@cpu04.student.cs.uwaterloo.ca'
alias uwcsX='/usr/bin/ssh -X ssorrell@cpu04.student.cs.uwaterloo.ca'
alias mp="./.mpcgrep"
alias eterm="Eterm"
alias wless='sudo /etc/init.d/networking restart'
alias make_iso='dd if=/dev/cdrom of=cd.iso'
alias ll='ls -lh'
alias la='ls -a'
alias lla='ls -al'
alias temp='acpi -Bt'
alias MUD='telnet mud.legendmud.org 9999'
alias irb='irb --readline -r irb/completion'
alias x='startx'
alias whereami='hostname ; pwd'
alias desktop='ssh sean@SeanDesktop'
alias tee='tee -a'
alias pacman='sudo pacman'
alias kd='sudo cat /var/run/dhcpcd-wlan0.pid | xargs sudo kill'
alias ncmpc='ncmpcpp'
export PATH=$PATH:/usr/bin/:bin/:/usr/sbin:/sbin:/usr/local/bin:/usr/local/sbin:/home/sean/.scripts:/home/sean/.gem/ruby/1.8/bin:/opt/:/opt/openoffice/program:/opt/mozart
export stat230='/home/sean/docs/school/stat230/'
export music='/mnt/usb/music'
export video='/mnt/usb/video'
export MPD_HOST='seandesktop'
export hostname='seandesktop'
export rcconf='/etc/rc.conf'
export awesomerc='/home/sean/.config/awesome/rc.lua'
export uwrube='/var/www/uwrube'
export NNTPSERVER='localhost:1190'
rationalise-dot() {
if [[ $LBUFFER = *.. ]]; then
LBUFFER+=/..
else
LBUFFER+=.
fi
}
zle -N rationalise-dot
bindkey '^J' push-line
bindkey . rationalise-dot