From 2d8fe086c3fe68dde16e41d892d6b5e6ba97cab9 Mon Sep 17 00:00:00 2001 From: Johannes Löthberg Date: Tue, 20 Dec 2016 19:10:57 +0100 Subject: CMove histsize/savehist MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Johannes Löthberg --- zsh/zprofile | 4 ++++ zsh/zshrc | 3 --- 2 files changed, 4 insertions(+), 3 deletions(-) (limited to 'zsh') 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 -- cgit v1.2.3-54-g00ecf