From 0f0b43b67c0405c8f254f52627b7da950a6e5136 Mon Sep 17 00:00:00 2001 From: Florian Pritz Date: Sun, 15 Feb 2009 21:22:32 +0100 Subject: added --- .zsh/rc/50options | 45 +++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 45 insertions(+) create mode 100644 .zsh/rc/50options (limited to '.zsh/rc/50options') diff --git a/.zsh/rc/50options b/.zsh/rc/50options new file mode 100644 index 0000000..fda3936 --- /dev/null +++ b/.zsh/rc/50options @@ -0,0 +1,45 @@ +#-------------------- +# History +#-------------------- +export HISTFILE=~/.zsh/histfile +# for some odd reason allocating RAM to save the histfile takes ages.. +export HISTSIZE=4000 +export SAVEHIST=4000 + +#-------------------- +# Other ZSH options +#-------------------- +autoload colors +colors +# .. -> cd ../ +setopt autocd + +setopt correct_all + +# cd /etc/**/foo/blub searches ;) +setopt extendedglob + +# push cds to directory stack +setopt auto_pushd + +# don't push something twice +setopt pushd_ignore_dups + +# don't kill jobs when exiting shell +setopt no_hup + +# show us when some command didn't exit with 0 +setopt print_exit_value + +# makepkg -g > PKGBUILD +# zsh: file exists: PKGBUILD +# +# work saved ;) +setopt no_clobber + +setopt APPEND_HISTORY +setopt SHARE_HISTORY +setopt EXTENDED_HISTORY +setopt HIST_REDUCE_BLANKS +setopt HIST_IGNORE_SPACE +setopt nohistverify -- cgit v1.2.3-24-g4f1b