diff --git a/dot_local/bin/executable_install-nu b/dot_local/bin/executable_install-nu index 4e2120d..4e35d56 100755 --- a/dot_local/bin/executable_install-nu +++ b/dot_local/bin/executable_install-nu @@ -6,7 +6,7 @@ source "${XDG_DATA_HOME}/buddy-up/includes/utils.sh" main () ( APP=nushell - VERSION=${VERSION:-0.100.0} + VERSION=${VERSION:-0.101.0} DEST=${XDG_DATA_HOME}/apps/releases/${APP} URL=https://github.com/nushell/nushell/releases/download/${VERSION}/nu-${VERSION}-$(uname -m)-$(get_os).tar.gz PLUGIN_DIR=${XDG_CONFIG_HOME}/nushell/plugins @@ -16,7 +16,7 @@ main () ( set_link "${XDG_BIN_HOME}/nu" "${DEST}" nu mkdir_if_missing "${PLUGIN_DIR}" - find "${DEST}" -type f -executable -exec basename {} \; | grep plugin | while read -r plugin ; do + find "${DEST}" -type f -perm +111 -exec basename {} \; | grep plugin | while read -r plugin ; do set_link "${PLUGIN_DIR}/${plugin}" "${DEST}" "${plugin}" done )