substitute $HOME/.config with $XDG_CONFIG_HOME

This commit is contained in:
Dennis Lee
2020-04-04 12:45:33 -07:00
parent 4f496fa189
commit fa67562835
4 changed files with 13 additions and 13 deletions

View File

@@ -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