From fcdd1d26943b0a27eb85110ca515cb60ea4cd280 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Johannes=20L=C3=B6thberg?= Date: Sun, 26 Aug 2018 20:47:26 +0200 Subject: zsh: Move HISTSIZE/HISTFILE back to zshrc MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit I don't even remember why I moved it. Signed-off-by: Johannes Löthberg --- zsh/zprofile | 4 ---- zsh/zshrc | 4 ++++ 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/zsh/zprofile b/zsh/zprofile index dbe274c..14de233 100644 --- a/zsh/zprofile +++ b/zsh/zprofile @@ -12,10 +12,6 @@ if [[ -z "$XDG_RUNTIME_DIR" ]] && [[ -d /run/user/"$UID" ]] && [[ -w /run/user/" export XDG_RUNTIME_DIR=/run/user/"$UID" fi -export HISTSIZE=500000 -export SAVEHIST=600000 -export HISTFILE="$XDG_CACHE_HOME"/zsh/history - # Program homedir overrides export MPV_HOME="$XDG_CONFIG_HOME"/mpv export GNUPGHOME="$XDG_CONFIG_HOME"/gnupg diff --git a/zsh/zshrc b/zsh/zshrc index 7a3c26a..3643615 100644 --- a/zsh/zshrc +++ b/zsh/zshrc @@ -1,3 +1,7 @@ +HISTSIZE=500000 +SAVEHIST=600000 +HISTFILE="$XDG_DATA_HOME"/zsh/history + fpath+=("$XDG_CONFIG_HOME/zsh/themes") zstyle :compinstall filename "$ZDOTDIR"/.zshrc -- cgit v1.2.3