check for existence of z.lua

This commit is contained in:
Ray Elliott 2020-10-19 20:21:05 +01:00
parent 715cc60895
commit 738ba86273
1 changed files with 3 additions and 1 deletions

View File

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