Friday, June 06, 2008
somes interesting zsh options
# Disable cores dumps
limit core 0
# Remove the cr before prompt (withou that you will never see the last line of a file if there is no ending \n )
setopt nopromptcr
# Enable awesome extended globbing like **/*
setopt extendedglob
# New mail?
setopt mailwarning
# Correct commands
setopt correct
setopt correct_all
# Do not nice commands run in background
unsetopt bgnice
# Share history between all running zsh
setopt share_history
# Dont know :(
setopt csh_junkie_history
# Remove duplicate commands in history
setopt hist_ignore_dups
setopt hist_allow_clobber
# Remove consective blanks in history
setopt hist_reduce_blanks
# Leading spaces are ignored in history
setopt histignorespace