preview-tui with wezterm: No FIFO available! ($NNN_FIFO='')
Closed this issue · 2 comments
qrockz commented
- Operating System: Ubuntu 23.10
- Desktop Environment: i3
- Terminal Emulator: wezterm 20240203-110809-5046fc22
- Shell: GNU bash, version 5.2.15
- Custom desktop opener (if applicable):
- Program options used:
- Configuration options set:
- Plugins are installed
.bshrc
export NNN_PLUG='i:imgview;o:preview-tui;p:preview-tabbed'
export NNN_FIFO="/tmp/nnn.fifo"
in preview-tui I've changed
wezterm cli split-pane --cwd "$PWD" $split --percent "$NNN_SPLITSIZE" "$0" "$1" >/dev/null
wezterm cli activate-pane-direction Prev ;;
to
flatpak run org.wezfurlong.wezterm cli split-pane --cwd "$PWD" $split --percent "$NNN_SPLITSIZE" "$0" "$1" >/dev/null
flatpak run org.wezfurlong.wezterm cli activate-pane-direction Prev ;;
because im running wezterm with flatpak.
Invoking preview-tui in nnn results in an Error
Even when starting nnn with -a option. (NNN_FIFO is set in .bashrc as you can see above)
Running preview-tui with kitty works on my system but unfortunately not with wezterm.
luukvbaal commented
Environment issue likely caused by flatpak then. Not familiar with flatpak but I suppose it has some way to pass along env to it's applications...
qrockz commented
@luukvbaal running wezterm as AppImage works 😕