This commit is contained in:
Ray Elliott 2022-03-04 17:40:57 +00:00
commit 5d15bc9369
2 changed files with 9 additions and 3 deletions

View file

@ -31,9 +31,9 @@ export AUTOENV_ENABLE_LEAVE=1
[ -f "$HOME/.src/autoenv/activate.sh" ] && . "$HOME/.src/autoenv/activate.sh"
# z.sh
if [ -f "$HOME/.z.lua/z.lua" ] ; then
eval "$(lua $HOME/.z.lua/z.lua --init zsh enhanced once)"
fi
if [ -n "$ZSH_VERSION" ] && [ -f "$HOME/.z.lua/z.lua" ] ; then
eval "$(lua $HOME/.z.lua/z.lua --init zsh enhanced once)"
fi
# custom aliases
[ -f "$HOME/.config/profile/aliases.sh" ] && . "$HOME/.config/profile/aliases.sh"