dotfiles/home/private_dot_config/zsh/functions/is-exe

8 lines
94 B
Text
Raw Normal View History

2023-02-17 09:26:31 -06:00
#? check if executable exists
if [ -x "$(command -v $1)" ]; then
return 0
else
return 1
fi