mirror of
https://github.com/jarun/nnn.git
synced 2024-11-23 19:31:28 +00:00
Updated Basic use cases (markdown)
parent
7a68b0c2d2
commit
778e1f2ddf
|
@ -57,11 +57,11 @@ By default, when <kbd>^G</kbd> is pressed, `nnn` writes the last working directo
|
||||||
|
|
||||||
${XDG_CONFIG_HOME:-$HOME/.config}/nnn/.lastd
|
${XDG_CONFIG_HOME:-$HOME/.config}/nnn/.lastd
|
||||||
|
|
||||||
To cd on quit _always_, export the environment variable `NNN_TMPFILE` set to your preferred file path.
|
To _cd on quit_ **always**, export the environment variable `NNN_TMPFILE` set to your preferred file path.
|
||||||
|
|
||||||
Note:
|
Note:
|
||||||
|
|
||||||
- The extra key <kbd>^G</kbd> to _cd on quit_ is to avoid writing to a file every time `nnn` quits. This also gives the user the flexibility to choose which directory (s)he wants to land into after starting `nnn` rather than having it decided beforehand.
|
- The extra key <kbd>^G</kbd> to _cd on quit_ is to avoid writing to a file every time `nnn` quits. This also gives the user the flexibility to _cd on quit_ on-demand.
|
||||||
|
|
||||||
## Sync subshell `$PWD`
|
## Sync subshell `$PWD`
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue