diff --git a/bin/is-executable b/bin/is-executable index 0a0a5cc..1943a11 100755 --- a/bin/is-executable +++ b/bin/is-executable @@ -1,6 +1,6 @@ #!/usr/bin/env bash -if type "$1" >/dev/null 2>&1; then +if [ -x "$(command -v $1)" ]; then exit 0 else exit 1 diff --git a/info/tools.yml b/info/tools.yml index 70b189a..d38b9a8 100644 --- a/info/tools.yml +++ b/info/tools.yml @@ -56,6 +56,7 @@ neovim: user: neovim sh: user: mvdan + to: shfmt # file management