|
|
@ -16,7 +16,7 @@ main () (
|
|
|
|
set_link "${XDG_BIN_HOME}/nu" "${DEST}" nu
|
|
|
|
set_link "${XDG_BIN_HOME}/nu" "${DEST}" nu
|
|
|
|
|
|
|
|
|
|
|
|
mkdir_if_missing "${PLUGIN_DIR}"
|
|
|
|
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}"
|
|
|
|
set_link "${PLUGIN_DIR}/${plugin}" "${DEST}" "${plugin}"
|
|
|
|
done
|
|
|
|
done
|
|
|
|
)
|
|
|
|
)
|
|
|
|