From 476cdbaf425001623640368bb863b91f1f881240 Mon Sep 17 00:00:00 2001 From: Buddy Date: Fri, 10 Jan 2025 21:15:28 -0800 Subject: [PATCH] Fix issue with find executable --- dot_local/bin/executable_install-nu | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dot_local/bin/executable_install-nu b/dot_local/bin/executable_install-nu index 4e35d56..c81f5a2 100755 --- a/dot_local/bin/executable_install-nu +++ b/dot_local/bin/executable_install-nu @@ -16,7 +16,7 @@ main () ( set_link "${XDG_BIN_HOME}/nu" "${DEST}" nu mkdir_if_missing "${PLUGIN_DIR}" - find "${DEST}" -type f -perm +111 -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 )