mirror of
https://github.com/jarun/nnn.git
synced 2024-11-22 15:20:59 +03:00
Updated Troubleshooting (markdown)
parent
fa8fa99fbc
commit
7fb025cf4c
@ -36,11 +36,14 @@ If the <kbd>Esc</kbd> key isn't working as expected, add the following in `.tmux
|
||||
|
||||
To start `nnn` within tmux use a shell function:
|
||||
|
||||
```bash
|
||||
```sh
|
||||
n ()
|
||||
{
|
||||
# use option -a for previews
|
||||
tmux new-session nnn -a $@
|
||||
if [ -n "$TMUX" ]; then
|
||||
nnn -a $@
|
||||
else
|
||||
tmux new-session nnn -a $@
|
||||
fi
|
||||
}
|
||||
```
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user