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

Latest version doesn't seem to work? #12

Closed
h0adp0re opened this issue May 25, 2021 · 7 comments
Closed

Latest version doesn't seem to work? #12

h0adp0re opened this issue May 25, 2021 · 7 comments

Comments

@h0adp0re
Copy link

I can't get it to work, is the load order of plugins somehow significant?

I have fzf installed via Homebrew and in my $PATH, I can use it and do use it in other scripts.

@wfxr
Copy link
Owner

wfxr commented May 26, 2021

Can't repro. Are you sure the plugin has been sourced by tmux correctly?

@h0adp0re
Copy link
Author

yeah, I mean it's just this, right? is the order important? are there plugins that conflict with this one?

set -g @plugin 'tmux-plugins/tpm'
set -g @plugin 'tmux-plugins/tmux-resurrect'
set -g @plugin 'tmux-plugins/tmux-continuum'
set -g @plugin 'tmux-plugins/tmux-prefix-highlight'
set -g @plugin 'tmux-plugins/tmux-open'
# set -g @plugin 'tmux-plugins/tmux-urlview'
set -g @plugin 'tmux-plugins/tmux-battery'
set -g @plugin 'aaronlna/tmux-plugin-sysstat'
set -g @plugin 'narugit/tmux-temp-mac'
set -g @plugin 'wfxr/tmux-fzf-url'

@wfxr
Copy link
Owner

wfxr commented May 26, 2021

Weird. You can try the following steps to debug:

  1. cd ~/.tmux/plugins/tmux-fzf-url (where the plugins located in, modify the path if you used a different location)
  2. echo https://google.com (to print a url for testing)
  3. ./fzf-url.sh (call the script directly)

If it works I guess you or some other plugin maybe overwrite the keybind.

@h0adp0re
Copy link
Author

this is what happened:

./fzf-url.sh: line 24: mapfile: command not found
./fzf-url.sh: line 25: mapfile: command not found
./fzf-url.sh: line 26: mapfile: command not found
./fzf-url.sh: line 27: mapfile: command not found

@h0adp0re
Copy link
Author

brew install bash fixed it, thanks for the plugin, it's very handy

@d1egoaz
Copy link

d1egoaz commented Feb 8, 2022

would be great to add this to the readme, MacOS uses a very old bash version

@wfxr
Copy link
Owner

wfxr commented Feb 11, 2022

Hi @d1egoaz It's already been documented: https://github.com/wfxr/tmux-fzf-url#-installation

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