From bf078c0a8abb1b83fbcaa4196b407d19cc11a6e5 Mon Sep 17 00:00:00 2001 From: Arun Prakash Jana Date: Wed, 6 May 2020 11:19:39 +0530 Subject: Update docs --- plugins/README.md | 1 + 1 file changed, 1 insertion(+) (limited to 'plugins') diff --git a/plugins/README.md b/plugins/README.md index 5b4b75c..b6384d3 100644 --- a/plugins/README.md +++ b/plugins/README.md @@ -258,3 +258,4 @@ There are many plugins provided by `nnn` which can be used as examples. Here are 2. Add an entry in the table above. 3. Keep non-portable commands (like `notify-send`) commented so users from any other OS/DE aren't surprised. 4. The plugin file should be executable. +5. If your plugin stores data, use `${XDG_CACHE_HOME:-$HOME/.cache}/nnn`. Document it _in-file_. -- cgit v1.2.3-70-g09d2