aboutsummaryrefslogtreecommitdiffstats
path: root/scripts/quitcd/quitcd.fish
diff options
context:
space:
mode:
authorGravatar QasimK <noreply@qasimk.io>2019-01-01 23:57:38 +0000
committerGravatar QasimK <noreply@qasimk.io>2019-01-01 23:57:38 +0000
commit6b7af57947d272d0e4281fde260b915092d44283 (patch)
tree90fc801b9e34c34542162dd564fc765f6e509246 /scripts/quitcd/quitcd.fish
parent243f8c67a9a6d69d837a47d40b6114af86b2aef0 (diff)
downloadnnn-6b7af57947d272d0e4281fde260b915092d44283.tar.gz
Document how to install fish quitcd function
It was not clear that the name of the file should match the name of the function.
Diffstat (limited to 'scripts/quitcd/quitcd.fish')
-rw-r--r--scripts/quitcd/quitcd.fish3
1 files changed, 3 insertions, 0 deletions
diff --git a/scripts/quitcd/quitcd.fish b/scripts/quitcd/quitcd.fish
index e7eec5e..608e44b 100644
--- a/scripts/quitcd/quitcd.fish
+++ b/scripts/quitcd/quitcd.fish
@@ -1,3 +1,6 @@
+# Rename this file to match the name of the function
+# e.g. ~/.config/fish/functions/n.fish
+
export NNN_TMPFILE="/tmp/nnn"
function n --description 'support nnn quit and change directory'