summaryrefslogtreecommitdiffstats
path: root/.config/zsh/.zshrc
diff options
context:
space:
mode:
authorDennis Lee <dennis@dennislee.xyz>2020-04-04 12:45:33 -0700
committerDennis Lee <dennis@dennislee.xyz>2020-04-04 12:45:33 -0700
commitfa67562835fc4cfd8f87c2abc622b9c1b4358ffe (patch)
treece0b756ef1e4375954a423a7ae2aeff7910156f1 /.config/zsh/.zshrc
parent4f496fa189d9b953a4ab487ea6b7a8eaccc0e9ee (diff)
downloadeibhear-fa67562835fc4cfd8f87c2abc622b9c1b4358ffe.tar.gz
eibhear-fa67562835fc4cfd8f87c2abc622b9c1b4358ffe.tar.zst
eibhear-fa67562835fc4cfd8f87c2abc622b9c1b4358ffe.zip
substitute $HOME/.config with $XDG_CONFIG_HOME
Diffstat (limited to '.config/zsh/.zshrc')
-rw-r--r--.config/zsh/.zshrc4
1 files changed, 2 insertions, 2 deletions
diff --git a/.config/zsh/.zshrc b/.config/zsh/.zshrc
index 63c0049..371d219 100644
--- a/.config/zsh/.zshrc
+++ b/.config/zsh/.zshrc
@@ -4,8 +4,8 @@ autoload -U colors && colors
PS1="%B%{$fg[red]%}[%{$fg[yellow]%}%n%{$fg[green]%}@%{$fg[blue]%}%M %{$fg[magenta]%}%~%{$fg[red]%}]%{$reset_color%}$%b "
# Load aliases and shortcuts if existent.
-[ -f "$HOME/.config/shortcutrc" ] && source "$HOME/.config/shortcutrc"
-[ -f "$HOME/.config/aliasrc" ] && source "$HOME/.config/aliasrc"
+[ -f "$XDG_CONFIG_HOME/shortcutrc" ] && source "$XDG_CONFIG_HOME/shortcutrc"
+[ -f "$XDG_CONFIG_HOME/aliasrc" ] && source "$XDG_CONFIG_HOME/aliasrc"
autoload -U compinit
zstyle ':completion:*' menu select