1
1
mirror of https://github.com/jarun/nnn.git synced 2024-11-22 06:35:55 +03:00

Updated Home (markdown)

Mischievous Meerkat 2020-10-11 09:14:15 +05:30
parent aa813276b7
commit d020062b15

@ -226,7 +226,7 @@ The prompts (except the filter prompt) support readline-like command-line shortc
Key <kbd>^L</kbd> clears and <kbd>Esc</kbd> exits all prompts.
The command prompt understands environment variables (like `$PWD`). Refer to your shell's documentation (e.g. `BASH_ENV` for bash, `~/.zshenv` for zsh) to use aliases and functions. To fuzzy-select commands from your shell history at the command prompt and issue them after editing (like [fc](http://manpages.ubuntu.com/manpages/bionic/man1/fc.1posix.html)), copy the plugin `fzhist` (as `h` maybe?) in your `$PATH`.
The _run & exit_ command prompt (<kbd>]</kbd>) understands environment variables (like `$PWD`). Refer to your shell's documentation (e.g. `BASH_ENV` for bash, `~/.zshenv` for zsh) to use aliases and functions. To fuzzy-select commands from your shell history at the command prompt and issue them after editing (like [fc](http://manpages.ubuntu.com/manpages/bionic/man1/fc.1posix.html)), copy the plugin `fzhist` (as `h` maybe?) in your `$PATH`.
The special variable `$nnn` denotes the hovered file name. It is accessible from the command prompt or a spawned shell.