From e2cde6c3252247b4fa14117e2a4ef86efebbf948 Mon Sep 17 00:00:00 2001 From: Arun Prakash Jana Date: Sat, 2 Sep 2017 11:15:10 +0530 Subject: [PATCH] Change name to scripts directory --- README.md | 2 +- {misc => scripts}/quitcd/quitcd.bash | 0 {misc => scripts}/quitcd/quitcd.fish | 0 {misc => scripts}/quitcd/quitcd.zsh | 0 4 files changed, 1 insertion(+), 1 deletion(-) rename {misc => scripts}/quitcd/quitcd.bash (100%) rename {misc => scripts}/quitcd/quitcd.fish (100%) rename {misc => scripts}/quitcd/quitcd.zsh (100%) diff --git a/README.md b/README.md index 6ffe2717..00ffcb82 100644 --- a/README.md +++ b/README.md @@ -302,7 +302,7 @@ To jump to the nth level parent, with PWD at level 0, use `n + 1` dot #### cd on quit -Pick the appropriate file for your shell from [misc/quitcd](https://github.com/jarun/nnn/tree/master/misc/quitcd) and add the contents to your shell's rc file. You'll need to spawn a new shell for the change to take effect. You should start `nnn` as `n` (or modify the function name to something else). +Pick the appropriate file for your shell from [scripts/quitcd](https://github.com/jarun/nnn/tree/master/scripts/quitcd) and add the contents to your shell's rc file. You'll need to spawn a new shell for the change to take effect. You should start `nnn` as `n` (or modify the function name to something else). As you might notice, `nnn` uses the environment variable `NNN_TMPFILE` to write the last visited directory path. You can change it. diff --git a/misc/quitcd/quitcd.bash b/scripts/quitcd/quitcd.bash similarity index 100% rename from misc/quitcd/quitcd.bash rename to scripts/quitcd/quitcd.bash diff --git a/misc/quitcd/quitcd.fish b/scripts/quitcd/quitcd.fish similarity index 100% rename from misc/quitcd/quitcd.fish rename to scripts/quitcd/quitcd.fish diff --git a/misc/quitcd/quitcd.zsh b/scripts/quitcd/quitcd.zsh similarity index 100% rename from misc/quitcd/quitcd.zsh rename to scripts/quitcd/quitcd.zsh