aboutsummaryrefslogtreecommitdiff
path: root/.zshrc
diff options
context:
space:
mode:
Diffstat (limited to '.zshrc')
-rw-r--r--.zshrc8
1 files changed, 3 insertions, 5 deletions
diff --git a/.zshrc b/.zshrc
index 930ca76..3efa128 100644
--- a/.zshrc
+++ b/.zshrc
@@ -22,18 +22,16 @@ source $HOME/.path
source $HOME/.env
source $HOME/.aliases
source $HOME/.functions
-source $HOME/.zrc
-
-[[ -r /usr/share/z/z.sh ]] && source /usr/share/z/z.sh
-[[ -r /usr/local/etc/profile.d/z.sh ]] && source /usr/local/etc/profile.d/z.sh
+[ -r "$HOME/.zrc" ] && source "$HOME/.zrc"
[ -r $HOME/.zplugrc ] && source $HOME/.zplugrc
[ -r $HOME/.nnnrc ] && source $HOME/.nnnrc
[ -r $HOME/.fzfrc ] && source $HOME/.fzfrc
[[ $(uname) == Darwin ]] && [ -r $HOME/.macos ] && source $HOME/.macos
-[ -r $HOME/.zsh_local ] && source $HOME/.zsh_local
if command -v direnv &> /dev/null; then
eval "$(direnv hook zsh)"
fi
+
+[ -r $HOME/.zsh_local ] && source $HOME/.zsh_local