summaryrefslogtreecommitdiff
path: root/zsh/rc
diff options
context:
space:
mode:
authorGrégoire Duchêne <gduchene@awhk.org>2023-07-08 12:10:11 +0100
committerGrégoire Duchêne <gduchene@awhk.org>2023-07-08 12:14:02 +0100
commitcdef6419b46d66747bb1edf324dc41223da87c14 (patch)
tree650dd2dadac3f412910d6f9917827a99a358c8fe /zsh/rc
parent6d720a1be90d19f6a785bec09354fbcd2a1a47ad (diff)
zsh: Iterate through variants in source_if_exists
Diffstat (limited to 'zsh/rc')
-rw-r--r--zsh/rc4
1 files changed, 1 insertions, 3 deletions
diff --git a/zsh/rc b/zsh/rc
index 3eb4c13..51a226d 100644
--- a/zsh/rc
+++ b/zsh/rc
@@ -72,8 +72,6 @@ if [[ ${TERM_PROGRAM} != iTerm.app ]]; then
setopt PROMPT_SUBST
fi
-source_if_exists dotfiles-${UNAME}/zsh/rc
-source_if_exists dotfiles-${DOMAIN}/zsh/rc
-source_if_exists dotfiles-${HOST}/zsh/rc
+source_if_exists zsh/rc
compinit -d ${XDG_CACHE_HOME}/zsh/compdump