summaryrefslogtreecommitdiffstats
path: root/.zsh/rc/50options
diff options
context:
space:
mode:
Diffstat (limited to '.zsh/rc/50options')
-rw-r--r--.zsh/rc/50options45
1 files changed, 45 insertions, 0 deletions
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