Updated Concepts (markdown)

Terminator X 2021-10-23 03:49:14 +05:30
parent de7fcc5792
commit 183c1b0f48

@ -231,7 +231,7 @@ Key <kbd>^L</kbd> clears and <kbd>Esc</kbd> exits all prompts.
#### Native command prompt #### Native command prompt
The handy REPL 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 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 only the last executed command in the current session. To access and use the shell's history add a shell function similar to:
@ -258,7 +258,7 @@ The following special variables can be accessed from the command prompt or a spa
E.g. to copy the hovered file in context 1 to the directory open in context 3, run `cp "$f1" "$d3"`. E.g. to copy the hovered file in context 1 to the directory open in context 3, run `cp "$f1" "$d3"`.
Selection can be accessed from the command prompt: Selection can be accessed from the native command prompt:
| Variable | Substitution | | Variable | Substitution |
|:---:| --- | |:---:| --- |