diff --git a/Concepts.md b/Concepts.md index 8616db6..4f54b91 100644 --- a/Concepts.md +++ b/Concepts.md @@ -231,10 +231,18 @@ Key ^L clears and Esc exits all prompts. 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 special variable `$nnn` denotes the hovered file name. It is accessible from the command prompt or a spawned shell. - All binary questions are confirmed by y or Y. +#### Special variables + +The following special variables can be accessed from the command prompt or a spawned shell: + +| Variable | Description | +|:---:| --- | +| `$nnn` | Hovered file name in current context | +| `$dn` | Path open in context n [n=1/2/3/4] | +| `$fn` | File path hovered in context n [n=1/2/3/4] | + ## Design `nnn` (the core C utility) is, generally speaking, _feature-restricted_. It includes features which you _really_ need so it can remain light enough to finish your workflow accurately before your train of thought is lost.