Replies: 1 comment
-
Figured that preview-tui requires a tmux and the second window actually contains the contents of the current directory. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
nnn with preview-tui works fine in Kitty but when I use it in Alacritty, I get the message
env: xterm: No such file or directory
. I am using Alacritty on macos.While troubleshooting this issue, I saw that the start_preview function at https://github.com/jarun/nnn/blob/master/plugins/preview-tui#L132 doesn't check if the current terminal is alacritty and assigns xterm to NNN_TERMINAL. In my case, xterm is undefined.
If I assign alacritty to NNN_TERMINAL as specified at https://github.com/jarun/nnn/blob/master/plugins/preview-tui#L83, a new alacritty window and it looks like below image.
Can you let me know what I need to configure to have the correct value in NNN_TERMINAL?
Beta Was this translation helpful? Give feedback.
All reactions