thriller@localhost ~ :) cat .zshrc .zshcompletion | egrep -v '^(#|$)' HISTFILE=~/.zshhistory HISTSIZE=20000 SAVEHIST=1000 bindkey -e bindkey "\e[1;5C" forward-word bindkey "\e[1;5D" backward-word bindkey "\e[8~" end-of-line bindkey "\e[7~" beginning-of-line bindkey "\e[3~" delete-char-or-list PROMPT="%(!.%F{red}.)%n%(!.%f.)@%U%m%u %U%.%u %(1j.[%j] .)%(?.%F{green}:%)%f.%F{red}:(%f) " # %(!.#.$) [%?] :( if [ `ls -A1 /etc/profile.d/ | wc -l` -gt 0 ]; then for profile in /etc/profile.d/*.sh; do if [ -x $profile ]; then . $profile fi done unset profile fi setopt interactivecomments setopt hist_ignore_all_dups setopt HIST_REDUCE_BLANKS setopt appendhistory notify setopt autocd setopt correctall alias ls='ls -ah --color=tty' alias rm='rm -iv' alias cp='cp -iv' alias mv='mv -iv' alias grep='grep --color=auto' alias df='df -h' alias du='du -h' alias ps='ps auxww' alias top='sudo htop -d 10' alias vi='vim' alias wicd='wicd-curses' alias urxvt-home='ssh -XCf thriller@192.168.0.3 urxvt' extract(){ if [ -f $1 ] ; then case $1 in *.tar.bz2) tar xjvf $1 ;; *.tbz2) tar xjvf $1 ;; *.tar.gz) tar xzvf $1 ;; *.tgz) tar xzvf $1 ;; *.tar) tar xvf $1 ;; *.bz2) bunzip2 $1 ;; *.rar) unrar e -ad $1 ;; *.gz) gunzip $1 ;; *.zip) unzip $1 ;; *.7z) 7z x $1 ;; *.Z) uncompress $1 ;; *) echo "'$1' cannot be extracted via extract()" ;; esac else echo "'$1' is not a valid file" fi } psg(){ ps x | grep $* | grep -v grep } . ~/.zshcompletion zstyle ':completion:*' completer _complete _ignored _approximate zstyle ':completion:*' file-sort name zstyle ':completion:*' format 'Completing %d' zstyle ':completion:*' group-name '' zstyle ':completion:*' list-colors ${(s.:.)LS_COLORS} zstyle ':completion:*' matcher-list 'm:{[:lower:][:upper:]}={[:upper:][:lower:]}' 'r:|[._-/]=* r:|=*' 'l:|=* r:|=*' zstyle ':completion:*' max-errors 3 zstyle ':completion:*' menu select=1 zstyle ':completion:*' select-prompt %SScrolling active: current selection at %p%s zstyle :compinstall filename '/home/thriller/.zshrccompletion' autoload -Uz compinit compinit