aboutsummaryrefslogtreecommitdiffstats
path: root/plugins/README.md
diff options
context:
space:
mode:
authorGravatar Arun Prakash Jana <engineerarun@gmail.com>2020-02-20 07:54:32 +0530
committerGravatar Arun Prakash Jana <engineerarun@gmail.com>2020-02-20 07:54:32 +0530
commit9f1b51b0041cdac17df880366085908e2fd66b30 (patch)
treec81f6a91c220ef03770f76df91b636597c62d3f6 /plugins/README.md
parentf7f53bbd6b422b0adcaab7a62834d5dbd54b54d8 (diff)
downloadnnn-9f1b51b0041cdac17df880366085908e2fd66b30.tar.gz
Allow choosing the same context in plugin helper
Diffstat (limited to 'plugins/README.md')
-rw-r--r--plugins/README.md2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/README.md b/plugins/README.md
index 8909c4a..f1401e2 100644
--- a/plugins/README.md
+++ b/plugins/README.md
@@ -162,7 +162,7 @@ The plugin should write a single string in the format `<number><path>` without a
The number indicates the context to change the active directory of (0 is used to indicate the current context).
For convenience, we provided a helper script named `.nnn-plugin-helper` and a function named `nnn_cd` to ease this process. `nnn_cd` receives the path to change to as the first argument, and the context as an optional second argument.
-If a context is not provided, it is asked for explicitly.
+If a context is not provided, it is asked for explicitly. To skip this and choose the current context, set the `CUR_CTX` variable in `.nnn-plugin-helper` to `1`.
Usage examples can be found in the Examples section below.
#### Examples