aboutsummaryrefslogtreecommitdiffstats
path: root/zsh/zprofile
diff options
context:
space:
mode:
authorJohannes Löthberg <johannes@kyriasis.com>2016-11-07 18:31:09 +0100
committerJohannes Löthberg <johannes@kyriasis.com>2017-06-01 18:37:35 +0200
commit074a68dce6b5b912773d0d27f2e61075bc0919b6 (patch)
treec1dd4efe56476433510c145bc996716510dbd1f4 /zsh/zprofile
parent1c5c080ba1bf97cfd45fb80f4055818161eac493 (diff)
downloaddotfiles-074a68dce6b5b912773d0d27f2e61075bc0919b6.tar.xz
zsh: Reorganize
Signed-off-by: Johannes Löthberg <johannes@kyriasis.com>
Diffstat (limited to 'zsh/zprofile')
-rw-r--r--zsh/zprofile6
1 files changed, 4 insertions, 2 deletions
diff --git a/zsh/zprofile b/zsh/zprofile
index 37bfee6..b8901b2 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 HISTFILE="$XDG_CACHE_HOME"/zsh/history
+
# Program homedir overrides
export MPV_HOME="$XDG_CONFIG_HOME"/mpv
export GNUPGHOME="$XDG_CONFIG_HOME"/gnupg
@@ -47,8 +49,8 @@ export QT_IM_MODULE=ibus
# LS_COLORS is now required for `ls` to use colors
source <(dircolors -b "$XDG_CONFIG_HOME"/dircolors)
-if [[ -f "$ZDOTDIR"/profile-"$SHORTHOST" ]]; then
- source "$ZDOTDIR"/profile-"$SHORTHOST"
+if [[ -f "$ZDOTDIR"/profile.d/"$SHORTHOST" ]]; then
+ source "$ZDOTDIR"/profile.d/"$SHORTHOST"
fi
if [[ -z $DISPLAY && $XDG_VTNR -eq 1 ]]; then