diff options
author | Johannes Löthberg <johannes@kyriasis.com> | 2016-12-20 19:10:57 +0100 |
---|---|---|
committer | Johannes Löthberg <johannes@kyriasis.com> | 2017-06-01 18:37:35 +0200 |
commit | 2d8fe086c3fe68dde16e41d892d6b5e6ba97cab9 (patch) | |
tree | 75700fb6a1cd43cf9b1a49fe929cc5f833b39ca0 | |
parent | fcede4f5dd134e98df20dfe6f485c3cd11d06763 (diff) | |
download | dotfiles-2d8fe086c3fe68dde16e41d892d6b5e6ba97cab9.tar.xz |
CMove histsize/savehist
Signed-off-by: Johannes Löthberg <johannes@kyriasis.com>
-rw-r--r-- | zsh/zprofile | 4 | ||||
-rw-r--r-- | zsh/zshrc | 3 |
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: @@ -1,6 +1,3 @@ -HISTSIZE=500000 -SAVEHIST=500000 - fpath+=("$XDG_CONFIG_HOME/zsh/themes") zstyle :compinstall filename "$ZDOTDIR"/.zshrc |