mirror of
https://github.com/jarun/nnn.git
synced 2024-09-30 01:37:51 +00: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:
|
To start `nnn` within tmux use a shell function:
|
||||||
|
|
||||||
```bash
|
```sh
|
||||||
n ()
|
n ()
|
||||||
{
|
{
|
||||||
# use option -a for previews
|
if [ -n "$TMUX" ]; then
|
||||||
tmux new-session nnn -a $@
|
nnn -a $@
|
||||||
|
else
|
||||||
|
tmux new-session nnn -a $@
|
||||||
|
fi
|
||||||
}
|
}
|
||||||
```
|
```
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue