aboutsummaryrefslogtreecommitdiffstats
path: root/zsh
diff options
context:
space:
mode:
authorJohannes Löthberg <johannes@kyriasis.com>2018-08-26 20:47:26 +0200
committerJohannes Löthberg <johannes@kyriasis.com>2018-08-26 20:47:26 +0200
commitfcdd1d26943b0a27eb85110ca515cb60ea4cd280 (patch)
tree6c64384201f81c891620d33975dc6217f82cf736 /zsh
parent1c6f1de9b6246981e492dfd5180cedb6e5c97796 (diff)
downloaddotfiles-fcdd1d26943b0a27eb85110ca515cb60ea4cd280.tar.xz
zsh: Move HISTSIZE/HISTFILE back to zshrc
I don't even remember why I moved it. Signed-off-by: Johannes Löthberg <johannes@kyriasis.com>
Diffstat (limited to 'zsh')
-rw-r--r--zsh/zprofile4
-rw-r--r--zsh/zshrc4
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