Closed suvasanket closed 7 months ago
@suvasanket Hard for me to say, I test every release but this may be conflicting with some other installation you have running there. Are you up to date with the recent push? You can run <prefix> + U
to update and make sure.
Are you able to read what it says before it crashes by any chance?
You can try and forward stderr to a logfile from sessionx.tmux
Additional things to check
fzf
bat
I've reinstalled everything but still no luck And there is no error or anything after crash it just doesn't open 😔
@suvasanket Thinking of a way I can help... I can try replicating your env, just need to know your
I can reproduce the issue with an Ubuntu 22.04. fzf
in 22.04 is 0.29 (devel)
which does not support these four parameter lines:
--bind 'focus:transform-preview-label:echo [ {} ]'
--border-label "Current session: \"$CURRENT\" "
--color 'preview-border:236,preview-scrollbar:0'
--color 'preview-border:236,preview-scrollbar:0'
After removing them from scripts/sessionx.sh
, fzf-tmux
window shows without an issue.
@jessesung Yep, this is a known (but different issue) of an old fzf version which IIRC doesn't know the --border-label
configuration. Current fzf is 0.44
so you may want to update.
If not, I can suggest a dedicated configuration that when set, the plugins won't try to use the border label.
Either than or a small readme "known issue". WDYT?
Another option may be checking the fzf version before passing extra parameters?
Will try Thx for the reply
Another option may be checking the fzf version before passing extra parameters?
Sure I can test the version but then it's this limbo of how many breaking changes and versions are you going to support. If you guys think it makes sense then sure, either than or I'd just add a small warning with the version + way to fix.
I'm thinking about an easier cut: anything >=0.44
gets the new parameters while <0.44
doesn't. But a config option or a warning works for me as well. :)
After pressing the prefix+o a window seems to appear for a split second and then disappears all the Prerequisits are installed here is the code