Fix issue with find executable

main
Buddy 4 days ago
parent 5fcf30897a
commit 476cdbaf42

@ -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
)

Loading…
Cancel
Save