Morantron / tmux-fingers

copy pasting in terminal with vimium/vimperator like hints.
MIT License
1k stars 46 forks source link

With the latest tmux and tmux-fingers from Homebrew, tmux-fingers errors out with "Invalid tmux version" #114

Closed knpwrs closed 9 months ago

knpwrs commented 9 months ago
❯ brew upgrade tmux-fingers
Warning: morantron/tmux-fingers/tmux-fingers 2.1.1 already installed

❯ brew upgrade tmux
Warning: tmux 3.3a_3 already installed

❯ tmux -V
tmux 3.3a

/tmp/tmux-28297/fingers.log:

Unhandled exception: Invalid tmux version  (Exception)
  from /opt/homebrew/Cellar/tmux-fingers/2.1.1/bin/tmux-fingers in '??'
  from /opt/homebrew/Cellar/tmux-fingers/2.1.1/bin/tmux-fingers in '??'
  from /opt/homebrew/Cellar/tmux-fingers/2.1.1/bin/tmux-fingers in '??'
  from /opt/homebrew/Cellar/tmux-fingers/2.1.1/bin/tmux-fingers in '??'
  from /opt/homebrew/Cellar/tmux-fingers/2.1.1/bin/tmux-fingers in '??'
  from /opt/homebrew/Cellar/tmux-fingers/2.1.1/bin/tmux-fingers in '??'
  from /opt/homebrew/Cellar/tmux-fingers/2.1.1/bin/tmux-fingers in '??'
  from /opt/homebrew/Cellar/tmux-fingers/2.1.1/bin/tmux-fingers in '??'
  from /opt/homebrew/Cellar/tmux-fingers/2.1.1/bin/tmux-fingers in '??'
  from /opt/homebrew/Cellar/tmux-fingers/2.1.1/bin/tmux-fingers in '??'
  from /opt/homebrew/Cellar/tmux-fingers/2.1.1/bin/tmux-fingers in '??'
  from /opt/homebrew/Cellar/tmux-fingers/2.1.1/bin/tmux-fingers in '??'
  from /opt/homebrew/Cellar/tmux-fingers/2.1.1/bin/tmux-fingers in '??'
  from /opt/homebrew/Cellar/tmux-fingers/2.1.1/bin/tmux-fingers in '??'
  from /opt/homebrew/Cellar/tmux-fingers/2.1.1/bin/tmux-fingers in '??'
  from /opt/homebrew/Cellar/tmux-fingers/2.1.1/bin/tmux-fingers in '??'
Morantron commented 9 months ago

Weiiiiird, does the error go away when you source again your tmux.conf file? If that doesn't work you can try running tmux-fingers load-config in a shell inside tmux.

knpwrs commented 9 months ago

I just re-sourced tmux.conf and was prompted to install fingers:

image

I hit "install with brew" which did its thing, and then I was re-prompted to install. tmux-fingers works now but whenever I re-source my config I am prompted to install again.

Here is my tmux.conf file: https://github.com/knpwrs/dotfiles/blob/574ca85f1af909c35ef3643f2fa44a59f790d40b/home/tmux.conf

Morantron commented 9 months ago

Closing for now. I've also fixed the case prompt issue in the latest version.