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