From 0ce9de258802b9c3259083e6f1ab5739e8e51084 Mon Sep 17 00:00:00 2001 From: Gustaf Rydholm Date: Sun, 30 May 2021 18:11:25 +0200 Subject: Somehow got aliasrc working properly --- .config/zsh/.zshrc | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to '.config/zsh') diff --git a/.config/zsh/.zshrc b/.config/zsh/.zshrc index dc398be..c39dc9d 100644 --- a/.config/zsh/.zshrc +++ b/.config/zsh/.zshrc @@ -1,7 +1,9 @@ # ZSH config + # Load plugins first -[ -f $HOME/.config/zsh/plugins.zsh ] && source $HOME/.config/zsh/plugins.zsh -[ -f $HOME/.config/zsh/functions.zsh ] && source $HOME/.config/zsh/functions.zsh +[ -f "${XDG_CONFIG_HOME:-$HOME/.config}/shell/aliasrc" ] && source "${XDG_CONFIG_HOME:-$HOME/.config}/shell/aliasrc" +[ -f "${XDG_CONFIG_HOME:-$HOME/.config}/zsh/plugins.zsh" ] && source "${XDG_CONFIG_HOME:-$HOME/.config}/zsh/plugins.zsh" +[ -f "${XDG_CONFIG_HOME:-$HOME/.config}/zsh/functions.zsh" ] && source "${XDG_CONFIG_HOME:-$HOME/.config}/zsh/functions.zsh" # Uncomment the following line to use case-sensitive completion. CASE_SENSITIVE="true" -- cgit v1.2.3-70-g09d2