-
-
Notifications
You must be signed in to change notification settings - Fork 769
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
preview-tui: 1: eval: Syntax error: "(" unexpected #1895
Comments
The issue template asks for some environment details. Please provide them, especially your bash version and preview-tui version. |
@N-R-K pardon, i didn't look at the bug template correctly and deleted everything instead of what i should. i have edited the issue above. regarding the preview-tui version, i don't know where i can find it. i've read the plugin file at regarding "Issue exists on |
It doesn't have an explicit version. I'm going to assume that it's the one that came with your nnn version.
There were some fixes made to preview tui since 4.8. Try downloading the latest one from master and see if that fixes your issue.
That |
I tried this on master and cannot reproduce. Also, the current preview-tui script doesn't have any I'm closing this off as fixed by 432b075. Upgrading to v4.9 or above should fix your issue. |
@N-R-K i was finally in a situation where i could upgrade to Ubuntu 24 LTS, shipping nnn 4.9 in their repo. Unfortunately despite removing and reinstalling the plugins, the |
I have this issue on Mac 14.6.1 Sonoma. I've replaced the preview-tui code after it didn't work redownloading it, but it persists. |
When i try to use the
preview-tui
plugin while hovering on a folder that's named something like thisFoo (Bar) [Bat]
, the plugin doesn't work andpreview-tui: 1: eval: Syntax error: "(" unexpected
is logged which is visible when exitingnnn
afterwards.I'm running
nnn
on a remote machine withtmux
for the tiling.I've looked at probably related issues and PRs like #1617 and #1614 but couldn't figure out if there is a fix for this.
Environment details (Put
x
in the checkbox along with the information)NNN_PLUG='p:preview-tui'
NNN_FIFO="/tmp/nnn.fifo"
NNN_OPTS='H'
nnn
masterExact steps to reproduce the issue
preview-tui
toNNN_PLUG
tmux
touch 'foo (bar)'
nnn
foo (bar)
filepreview-tui
pluginnnn
, a line containing "syntax error" will be shown before the promptThe text was updated successfully, but these errors were encountered: