From 6b7af57947d272d0e4281fde260b915092d44283 Mon Sep 17 00:00:00 2001 From: QasimK Date: Tue, 1 Jan 2019 23:57:38 +0000 Subject: [PATCH 1/2] Document how to install fish quitcd function It was not clear that the name of the file should match the name of the function. --- scripts/quitcd/quitcd.fish | 3 +++ 1 file changed, 3 insertions(+) diff --git a/scripts/quitcd/quitcd.fish b/scripts/quitcd/quitcd.fish index e7eec5e1..608e44b8 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' From 2645dd59c984084f67d57b1fdb6a8684f98498f2 Mon Sep 17 00:00:00 2001 From: QasimK Date: Wed, 2 Jan 2019 10:46:02 +0000 Subject: [PATCH 2/2] Document second method of adding quitcd to fish --- scripts/quitcd/quitcd.fish | 1 + 1 file changed, 1 insertion(+) diff --git a/scripts/quitcd/quitcd.fish b/scripts/quitcd/quitcd.fish index 608e44b8..748f0ddb 100644 --- a/scripts/quitcd/quitcd.fish +++ b/scripts/quitcd/quitcd.fish @@ -1,5 +1,6 @@ # Rename this file to match the name of the function # e.g. ~/.config/fish/functions/n.fish +# or, add the lines to the 'config.fish' file. export NNN_TMPFILE="/tmp/nnn"