plugins/README.md | 4 ++-- diff --git a/plugins/README.md b/plugins/README.md index 9d48ec30385299249db007ed9e1e467a56e0b610..5c166767dd7e273626bdf40c0bef8a024eaef7a3 100644 --- a/plugins/README.md +++ b/plugins/README.md @@ -109,7 +109,7 @@ - Change to directory in clipboard using helper script ```sh #!/usr/bin/env sh - . $(dirname $0/.nnn-plugin-helper) + . $(dirname $0)/.nnn-plugin-helper nnn_cd "$(xsel -ob)" ``` @@ -117,7 +117,7 @@ - Change direcory to the location of a link using helper script with specific context (current) ```sh #!/usr/bin/env sh - . $(dirname $0/.nnn-plugin-helper) + . $(dirname $0)/.nnn-plugin-helper nnn_cd "$(dirname $(readlink -fn $1))" 0 ```