aboutsummaryrefslogtreecommitdiffstats
path: root/zsh
diff options
context:
space:
mode:
authorJohannes Löthberg <johannes@kyriasis.com>2016-12-20 19:10:57 +0100
committerJohannes Löthberg <johannes@kyriasis.com>2017-06-01 18:37:35 +0200
commit2d8fe086c3fe68dde16e41d892d6b5e6ba97cab9 (patch)
tree75700fb6a1cd43cf9b1a49fe929cc5f833b39ca0 /zsh
parentfcede4f5dd134e98df20dfe6f485c3cd11d06763 (diff)
downloaddotfiles-2d8fe086c3fe68dde16e41d892d6b5e6ba97cab9.tar.xz
CMove histsize/savehist
Signed-off-by: Johannes Löthberg <johannes@kyriasis.com>
Diffstat (limited to 'zsh')
-rw-r--r--zsh/zprofile4
-rw-r--r--zsh/zshrc3
2 files changed, 4 insertions, 3 deletions
diff --git a/zsh/zprofile b/zsh/zprofile
index b8901b2..88c1ee7 100644
--- a/zsh/zprofile
+++ b/zsh/zprofile
@@ -8,6 +8,8 @@ export XDG_CACHE_HOME="$HOME"/.cache
export XDG_CONFIG_HOME="$HOME"/.config
export XDG_DATA_HOME="$HOME"/.local/share
+export HISTSIZE=500000
+export SAVEHIST=600000
export HISTFILE="$XDG_CACHE_HOME"/zsh/history
# Program homedir overrides
@@ -56,3 +58,5 @@ fi
if [[ -z $DISPLAY && $XDG_VTNR -eq 1 ]]; then
exec startx "$XDG_CONFIG_HOME"/X11/xinitrc -- -keeptty -configdir "$XDG_CONFIG_HOME"/X11/xorg.conf.d
fi
+
+# vim: set ft=zsh:
diff --git a/zsh/zshrc b/zsh/zshrc
index 47842cf..2d97059 100644
--- a/zsh/zshrc
+++ b/zsh/zshrc
@@ -1,6 +1,3 @@
-HISTSIZE=500000
-SAVEHIST=500000
-
fpath+=("$XDG_CONFIG_HOME/zsh/themes")
zstyle :compinstall filename "$ZDOTDIR"/.zshrc