Make exists() available in zshenv

This commit is contained in:
crater2150 2020-02-24 09:19:10 +00:00
parent d62bc24438
commit 3d1da888c6
2 changed files with 5 additions and 2 deletions

1
zshenv
View file

@ -1,5 +1,6 @@
export ZDOTDIR="${$(readlink $HOME/.zshenv):h:a}"
exists() { command -v "$@" >/dev/null }
for i in $ZDOTDIR/env/*.zsh; do
. $i
done