Update docs

This commit is contained in:
Arun Prakash Jana 2018-11-13 18:40:48 +05:30
parent 5c7eb3ba5b
commit ce0a9a6ab3
No known key found for this signature in database
GPG key ID: A75979F35C080412

View file

@ -429,7 +429,7 @@ export `NNN_COPIER`:
To quit `nnn` and switch to the directory last opened follow the instructions below. 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). To change directory on quit press `Q` (it's _capital_) or `^G` while exiting. 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 `^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. As you might notice, `nnn` uses the environment variable `NNN_TMPFILE` to write the last visited directory path. You can change it.