aboutsummaryrefslogtreecommitdiffstats
path: root/plugins/README.md
diff options
context:
space:
mode:
authorGravatar Anna Arad <4895022+annagrram@users.noreply.github.com>2019-10-23 16:55:57 +0300
committerGravatar GitHub <noreply@github.com>2019-10-23 16:55:57 +0300
commitb81affffa1cadbfcacd6e3d24295d97f363b537f (patch)
tree447ae3569435621894c0dc96a0e1c2fffb2be942 /plugins/README.md
parent9afd7cf3bf8badb7e704fb1e1fbdb8031572c722 (diff)
downloadnnn-b81affffa1cadbfcacd6e3d24295d97f363b537f.tar.gz
Fix code examples in plugins README
Diffstat (limited to 'plugins/README.md')
-rw-r--r--plugins/README.md4
1 files changed, 2 insertions, 2 deletions
diff --git a/plugins/README.md b/plugins/README.md
index 9d48ec3..5c16676 100644
--- a/plugins/README.md
+++ b/plugins/README.md
@@ -109,7 +109,7 @@ There are many plugins provided by `nnn` which can be used as examples. Here are
- 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 @@ There are many plugins provided by `nnn` which can be used as examples. Here are
- 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
```