nnn: preview-tui does not work on MacOS
Cannot make preview-tui work on MacOS.
Downloaded preview-tui and put it into .config/nnn/pluings
Installed tmux as a dependency via MacPorts and all other additional dependencies.
Updated fish shell config to include
set -x NNN_OPENER /Users/pavels/.config/nnn/plugins/nuke
set -x NNN_PLUG 'p:preview-tui'
set -x NNN_FIFO /tmp/nnn.fifo
set -x TERMINAL (which tmux)
I followed the preview-tui readme and run nnn -a.
When in nnn I type ;p to invoke the plugin but the window just blinks for a millisecond and nothing happens 😦
About this issue
- Original URL
- State: closed
- Created 3 years ago
- Reactions: 1
- Comments: 47 (8 by maintainers)
@ranelpadon I tried running
ueberzugon my OSX VM by installing:Then running `ueberzug results in error:
trying after
export DISPLAY=:0results inI would say that
python-xlibneeds to supportXQuartzforueberzugto work on OSX.See if googling
fifo "interrupted system call"helps. I don’t use macOS so can’t help with this local issue.@ranelpadon I can actually reproduce the
cannot open '100' (no such file or directory), will try to investigate. Theinteger expression expectedshould already be fixed onmasterhowever.@tastyminerals is the executable set on
preview-tuiif not trychmod +x preview-tui.Anyways I had never used OSX before but
nnnwithpreview-tuiworked out of the box after installingbrewand runningbrew install tmux; brew install nnn; brew install treeAgain this is on a VM so unless anyone else actually running OSX can confirm the issue I’d suggest you try to figure out your environment, good luck.I actually went through the trouble of installing OSX-KVM on my laptop and could not reproduce the issue.
preview-tuifrom master works fine on that hackintosh VM insidetmux.Are you sure you’re acutally running
tmux, haveTERMINALset to your terminal inside your shell profile, or havexterminstalled? If any of those three are true the plugin should work.