My favorite zsh configuration

setopt no_beep complete_in_word auto_cd rm_star_wait transient_rprompt cdable_vars auto_pushd
 
PROMPT='[%j,%!]%n%#'
RPROMPT='%/'
 
 
export PATH=/Users/robertkofler/bin:/Applications/Xcode.app/Contents/Developer/usr/bin:/Users/robertkofler/programs/bwa-0.6.2:/Users/robertkofler/programs/samtools-0.1.18:/usr/local/bin:$PATH
export PYTHONPATH=/Users/robertkofler/dev/mimicree/scripts/PyModules:$PYTHONPATH
 
alias rs='R --slave --vanilla --args'
alias ls='ls -G'
alias ll="ls -alF"
alias ..="cd .."
alias ...="cd ../.."
alias ....="cd ../../.."
alias komodo="/Applications/Komodo\ IDE.app/Contents/MacOS/komodo-bin"
 
hash -d mi="/Volumes/Volume_4/analysis/smallRNA"
hash -d sc="/Volumes/Volume_4/analysis/simcoal"
 
HISTFILE=~/.zsh_history
SAVEHIST=10000
HISTSIZE=12000
setopt share_history inc_append_history
setopt append_history hist_reduce_blanks hist_ignore_all_dups


My old zsh configuration


autoload -U colors && colors
# PROMPT
PROMPT='%n@%m %#'
#RPROMPT='%/'
RPROMPT="%{$fg[green]%}%/%{$reset_color%}"
 
setopt transient_rprompt
setopt no_beep
setopt auto_cd
setopt complete_in_word
setopt extended_glob
setopt auto_pushd
setopt cdable_vars
 
# PATH
# Minimal path
export PATH=/Users/robertkofler/programs/bwa-svn/trunk/bwa:/Users/robertkofler/programs/bwa-0.5.7:/Users/robertkofler/programs/blatSuite.34:/Users/robertkofler/bin:/Users/robertkofler/programs/samtools-0.1.17:/Users/robertkofler/programs/bowtie-0.12.1:/Users/robertkofler/programs/exonerate-1.0.0-osx/bin:/Users/robertkofler/programs/trf:/Users/robertkofler/programs/crossmatch:/Library/Frameworks/Python.framework/Versions/2.6/bin:/Users/robertkofler/programs/BEDTools-2.16.2/bin:/Users/robertkofler/programs/samtools-0.1.17/bcftools:$PATH
 
# PYTHONPATH
export PYTHONPATH=/Users/robertkofler/dev/MimicrEE/src/scripts/PyModules:$PYTHONPATH
 
# Fink
source /sw/bin/init.sh
 
#gnuterm
export GNUTERM=aqua
 
# Aliases for cd
alias ..='cd ..'
alias ...='cd ../..'
alias ....='cd ../../..'
 
# Aliases for ls
alias ls='ls -G'
alias ll='ls -l'
alias awk='gawk'
 
# General aliases
alias vim='/Users/robertkofler/programs/macvim/mvim'
alias d='dirs -v'
alias komodo='/Applications/Komodo\ IDE.app/Contents/MacOS/komodo'
alias PanGEA='mono /Users/robertkofler/Documents/Lectures/Eco.Genomics.Summer.School/PanGEA/PanGEA_1.04/PanGEA.exe'
alias IGV='java -Xmx750m -Djava.library.path=./native/mac-intel -Dapple.awt.graphics.UseQuartz=false -jar /Users/robertkofler/programs/IGV_1.4.1/igv.jar'
 
# suffix alliases
# this fucks up if in path
alias -s pl=perl
 
# Aliases for directories
hash -d p=/Users/robertkofler/programs
hash -d d=/Users/robertkofler/dev
hash -d a4=/Volumes/Volume_4/analysis
hash -d te=/Volumes/Volume_3/analysis/te
hash -d pic=/Users/robertkofler/programs/picard-tools-1.54
hash -d m=/Volumes/Volume_4/analysis/mimsim
hash -d sat=/Volumes/Volume_3/analysis/satellite/
 
 
# History
HISTFILE=~/.zsh_history
SAVEHIST=100000
HISTSIZE=200000
 
setopt share_history
setopt append_history
setopt extended_history
setopt hist_no_store
setopt hist_reduce_blanks
setopt hist_ignore_all_dups