Skip to content
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

tmux: unknown option -- K #49

Open
ghostbuster91 opened this issue Jan 3, 2022 · 4 comments
Open

tmux: unknown option -- K #49

ghostbuster91 opened this issue Jan 3, 2022 · 4 comments

Comments

@ghostbuster91
Copy link

ghostbuster91 commented Jan 3, 2022

Hi, I tried to set this up on my ubuntu with home-manager from nix.

I have fzf installed and tmux is able to see it:

tmux run-shell 'command -v fzf' 
/home/kghost/.nix-profile/bin/fzf

But when I try to invoke fzf-tmux I get this:

ls | /nix/store/rk6vrgamfsnp45kvk2cwhjmjs387691i-tmuxplugin-tmux-fzf-unstable-2020-12-07/share/tmux-plugins/tmux-fzf/scripts/.fzf-tmux
tmux: unknown option -- K
usage: display-popup [-CE] [-c target-client] [-d start-directory] [-h height] [-t target-pane] [-w width] [-x position] [-y position] [command]

my tmux version is: tmux 3.2a

I discovered this because when I press prefix + F nothing happens and hence I started debugging.

Calling

tmux run-shell -b /nix/store/32d5ndb6nasv7ikmlnr3yxg5inh1n0i3-tmuxplugin-tmux-fzf-unstable-2020-12-07/share/tmux-plugins/tmux-fzf/main.sh

does nothing.

@sainnhe
Copy link
Owner

sainnhe commented Jan 4, 2022

/scripts/.fzf-tmux is directly copied from fzf, I may not be able to help.

You can open an issue in fzf repository instead.

@ghostbuster91
Copy link
Author

Ok, thanks, I will do that.

Do you think that this is the root cause of my issue?

@sainnhe
Copy link
Owner

sainnhe commented Jan 4, 2022

You can clone the fzf repo and try if /bin/fzf-tmux works on your machine.

@liaowang11
Copy link

Nixpkgs has very old tmux-fzf plugin, the latest rev already fixed tmux dropping support -K in popup.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants