mirror of
https://github.com/jarun/nnn.git
synced 2024-11-26 09:52:12 +03:00
Updated Concepts (markdown)
parent
e2832c0ed9
commit
88a868e4e9
@ -233,7 +233,7 @@ Key <kbd>^L</kbd> clears and <kbd>Esc</kbd> exits all prompts.
|
|||||||
|
|
||||||
The handy REPL command prompt (shows on <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 handy REPL command prompt (shows on <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 native command prompt remembers only the last executed command in the current session. To access and use the shell's history add a shell function similar to:
|
The native command prompt remembers the last 16 commands executed in the current session. To access and use the shell's history add a shell function similar to:
|
||||||
|
|
||||||
```sh
|
```sh
|
||||||
h ()
|
h ()
|
||||||
|
Loading…
Reference in New Issue
Block a user