Make exists() available in zshenv
This commit is contained in:
parent
d62bc24438
commit
3d1da888c6
2 changed files with 5 additions and 2 deletions
1
zshenv
1
zshenv
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue