From c5bd60766b773108a958ecb9f197b3098838935f Mon Sep 17 00:00:00 2001 From: Terminator X Date: Sat, 23 Oct 2021 03:34:43 +0530 Subject: [PATCH] Updated Concepts (markdown) --- Concepts.md | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/Concepts.md b/Concepts.md index 15e9106..2171e1a 100644 --- a/Concepts.md +++ b/Concepts.md @@ -229,6 +229,8 @@ The prompts (except the filter prompt) support readline-like command-line shortc Key ^L clears and Esc exits all prompts. +#### Native command prompt + The handy REPL 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 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: @@ -260,7 +262,7 @@ Selection can be accessed from the command prompt: | Variable | Substitution | |:---:| --- | -| `%j` | repeat the command with `%j` substituted by each selected file path (all occurrances of`%j` are substituted) | +| `%j` | repeat cmd with all `%j` substituted by each selected file path | | `%J` | run the command only once with the last `%J` substituted by all selected file paths | E.g.