aboutsummaryrefslogtreecommitdiffstats
path: root/zsh
diff options
context:
space:
mode:
Diffstat (limited to 'zsh')
-rw-r--r--zsh/profile.d/leeloo (renamed from zsh/profile-leeloo)0
-rw-r--r--zsh/profile.d/tirxu (renamed from zsh/profile-tirxu)0
-rw-r--r--zsh/profile.d/zorg (renamed from zsh/profile-zorg)0
-rw-r--r--zsh/zprofile6
-rw-r--r--zsh/zshrc5
5 files changed, 6 insertions, 5 deletions
diff --git a/zsh/profile-leeloo b/zsh/profile.d/leeloo
index 56618a8..56618a8 100644
--- a/zsh/profile-leeloo
+++ b/zsh/profile.d/leeloo
diff --git a/zsh/profile-tirxu b/zsh/profile.d/tirxu
index 56618a8..56618a8 100644
--- a/zsh/profile-tirxu
+++ b/zsh/profile.d/tirxu
diff --git a/zsh/profile-zorg b/zsh/profile.d/zorg
index 56618a8..56618a8 100644
--- a/zsh/profile-zorg
+++ b/zsh/profile.d/zorg
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
diff --git a/zsh/zshrc b/zsh/zshrc
index 4e21f7e..47842cf 100644
--- a/zsh/zshrc
+++ b/zsh/zshrc
@@ -1,4 +1,3 @@
-HISTFILE=~/.config/zsh/.zsh_history
HISTSIZE=500000
SAVEHIST=500000
@@ -49,8 +48,8 @@ if [[ -n "$VTE_VERSION" ]]; then
__vte_prompt_command
fi
-if [[ -f "$ZDOTDIR"/zshrc-"$SHORTHOST" ]]; then
- source "$ZDOTDIR"/zshrc-"$SHORTHOST"
+if [[ -f "$ZDOTDIR"/rc.d/"$SHORTHOST" ]]; then
+ source "$ZDOTDIR"/rc.d/"$SHORTHOST"
fi
GPG_TTY=$(tty)