dotfiles/bin/is-executable
2022-05-18 00:21:46 -05:00

8 lines
82 B
Bash
Executable file

#!/usr/bin/env bash
if [ -x "$(command -v $1)" ]; then
exit 0
else
exit 1
fi