diff options
author | Johannes Löthberg <johannes@kyriasis.com> | 2016-11-07 18:31:09 +0100 |
---|---|---|
committer | Johannes Löthberg <johannes@kyriasis.com> | 2017-06-01 18:37:35 +0200 |
commit | 074a68dce6b5b912773d0d27f2e61075bc0919b6 (patch) | |
tree | c1dd4efe56476433510c145bc996716510dbd1f4 /zsh | |
parent | 1c5c080ba1bf97cfd45fb80f4055818161eac493 (diff) | |
download | dotfiles-074a68dce6b5b912773d0d27f2e61075bc0919b6.tar.xz |
zsh: Reorganize
Signed-off-by: Johannes Löthberg <johannes@kyriasis.com>
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/zprofile | 6 | ||||
-rw-r--r-- | zsh/zshrc | 5 |
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 @@ -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) |