From 7c4b93c066388c1c959f8e2a14cd569a80283683 Mon Sep 17 00:00:00 2001 From: Daylin Morgan Date: Wed, 19 Jan 2022 11:49:06 -0600 Subject: [PATCH] update binary and tools --- bin/is-executable | 2 +- info/tools.yml | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) 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