Quellcode durchsuchen

Fix code examples in plugins README

master
Anna Arad GitHub vor 5 Jahren
Ursprung
Commit
b81affffa1
Es konnte kein GPG-Schlüssel zu dieser Signatur gefunden werden GPG-Schlüssel-ID: 4AEE18F83AFDEB23
1 geänderte Dateien mit 2 neuen und 2 gelöschten Zeilen
  1. +2
    -2
      plugins/README.md

+ 2
- 2
plugins/README.md Datei anzeigen

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


Laden…
Abbrechen
Speichern