princ3 /zshrc.local

some private additions to the dotfile of michael procop and the actual grml dotfile
bindkey -e
bindkey -v 'F' end-of-line
bindkey -v 'H' beginning-of-line
bindkey -v '' delete-char
bindkey -v '       backward-delete-char
bindkey -M vicmd '^r' history-incremental-search-backward

# needed for the d() function
setopt autopushd

  alias ls="ls --color"                 
  alias obexftp='obexftp -b 00:18:13:13:E8:AF -p'
# file extensions
  alias -s pdf=acroread 
  alias -s html=firefox 
  alias -s chm=xchm 
  alias -s wmv=mplayer -zoom
# list 
alias dud="du -s * | sort -n | cut -f 2- | while read a; do du -hs |$a|; done"

# Variable needed for vmware6
export VMWARE_USE_SHIPPED_GTK=yes

# Manpath for nessus
export MANPATH=$MANPATH:/opt/nessus/man

# {{{ original stuff
#export BROWSER="firefox %s &"

#autoload bashcompinit 
#bashcompinit
#autoload -U promptinit
#setopt nocorrectall
#compinit
#promptinit
#prompt oliver
#zstyle ':completion:*:descriptions' format '%U%B%d%b%u'
#zstyle ':completion:*:warnings'format '%BSorry, no matches for: %d%b'

#autoload zkbd
#[[ ! -d ~/.zkbd ]] && mkdir ~/.zkbd
#[[ ! -f ~/.zkbd/$TERM-$VENDOR-$OSTYPE ]] && zkbd
#source ~/.zkbd/$TERM-$VENDOR-$OSTYPE
#bindkey -v '^[[2~' overwrite-mode
#bindkey -v '^[[8~' end-of-line
#bindkey -v '^[[7~' beginning-of-line
#bindkey -v '^[[3~' delete-char
#bindkey -v '      backward-delete-char
#[[ -f /etc/profile.d/bash-completion ]] && source /etc/profile.d/bash-completion
#[[ -f ~/.bash_completion.d/wmii ]] && source ~/.bash_completion.d/wmii

#Color stderr to red
#exec 2>>(while read line; do
# print '\e[91m'${(q)line}'\e[0m' > /dev/tty; done &) 
#set -o vi
#alias ssu="ssh -X root@localhost"
#alias ls='ls --color=tty --classify'
#alias scvim='vim -c "source $SCVIM_DIR/ftplugin/supercollider.vim | SClangStart"'
#export SCVIM_DIR=/usr/local/share/scvim
#export PAGER=/usr/bin/vimpager