aboutsummaryrefslogtreecommitdiffstats
path: root/misc
diff options
context:
space:
mode:
Diffstat (limited to 'misc')
-rw-r--r--misc/quitcd/quitcd.bash11
-rw-r--r--misc/quitcd/quitcd.fish10
-rw-r--r--misc/quitcd/quitcd.zsh11
3 files changed, 0 insertions, 32 deletions
diff --git a/misc/quitcd/quitcd.bash b/misc/quitcd/quitcd.bash
deleted file mode 100644
index dc83b23..0000000
--- a/misc/quitcd/quitcd.bash
+++ /dev/null
@@ -1,11 +0,0 @@
-export NNN_TMPFILE="/tmp/nnn"
-
-n()
-{
- nnn "$@"
-
- if [ -f $NNN_TMPFILE ]; then
- . $NNN_TMPFILE
- rm $NNN_TMPFILE
- fi
-}
diff --git a/misc/quitcd/quitcd.fish b/misc/quitcd/quitcd.fish
deleted file mode 100644
index 079f33e..0000000
--- a/misc/quitcd/quitcd.fish
+++ /dev/null
@@ -1,10 +0,0 @@
-export NNN_TMPFILE="/tmp/nnn"
-
-function n --description 'support nnn quit and change directory'
- nnn $argv
-
- if test -e $NNN_TMPFILE
- . $NNN_TMPFILE
- rm $NNN_TMPFILE
- end
-end
diff --git a/misc/quitcd/quitcd.zsh b/misc/quitcd/quitcd.zsh
deleted file mode 100644
index dc83b23..0000000
--- a/misc/quitcd/quitcd.zsh
+++ /dev/null
@@ -1,11 +0,0 @@
-export NNN_TMPFILE="/tmp/nnn"
-
-n()
-{
- nnn "$@"
-
- if [ -f $NNN_TMPFILE ]; then
- . $NNN_TMPFILE
- rm $NNN_TMPFILE
- fi
-}