diff --git a/README.md b/README.md index f3323fe9..236c0608 100644 --- a/README.md +++ b/README.md @@ -353,7 +353,7 @@ To jump to the nth level parent, use `n + 1` dots (the first `.` deno To quit `nnn` and switch to the directory last opened follow the instructions below. -Pick the appropriate file for your shell from [`scripts/quitcd`](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). +Pick the appropriate file for your shell from [`scripts/quitcd`](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). To change directory on quit press `Q` or `^G` while exiting. As you might notice, `nnn` uses the environment variable `NNN_TMPFILE` to write the last visited directory path. You can change it.