From e2cde6c3252247b4fa14117e2a4ef86efebbf948 Mon Sep 17 00:00:00 2001 From: Arun Prakash Jana Date: Sat, 2 Sep 2017 11:15:10 +0530 Subject: Change name to scripts directory --- misc/quitcd/quitcd.bash | 11 ----------- misc/quitcd/quitcd.fish | 10 ---------- misc/quitcd/quitcd.zsh | 11 ----------- 3 files changed, 32 deletions(-) delete mode 100644 misc/quitcd/quitcd.bash delete mode 100644 misc/quitcd/quitcd.fish delete mode 100644 misc/quitcd/quitcd.zsh (limited to 'misc') 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 -} -- cgit v1.2.3-70-g09d2