1
1
mirror of https://github.com/jarun/nnn.git synced 2024-10-26 14:28:31 +03:00

Updated Basic use cases (markdown)

Terminator X 2021-07-18 00:35:59 +05:30
parent 4c2faa661f
commit abb8f93091

@ -190,7 +190,7 @@ Another options is to combine and use `nnn` with a multiplexer like `dvtm`:
There are several ways to run commands from `nnn`: There are several ways to run commands from `nnn`:
1. Launch a shell within the current directory. This is your regular shell. 1. Launch a shell within the current directory. This is your regular shell.
2. Use the prompt key to show the prompt and enter your command. The commands are invoked using the `$SHELL` so you can use commands, aliases, environment variables, pipes, redirections. 2. Use the prompt key to show the prompt and enter your command. The commands are invoked using the `$SHELL` so you can use commands, aliases (in `~/.zshenv` for zsh), environment variables, pipes, redirections.
3. You can also assign keys to arbitrary non-background cli commands (non-shell-interpreted) you use frequently and invoke like plugins. ([instructions](https://github.com/jarun/nnn/tree/master/plugins#running-commands-as-plugin)). 3. You can also assign keys to arbitrary non-background cli commands (non-shell-interpreted) you use frequently and invoke like plugins. ([instructions](https://github.com/jarun/nnn/tree/master/plugins#running-commands-as-plugin)).
#### Shell depth indicator #### Shell depth indicator