Skip to content

Prefix-w returns: '~/.tmux/plugins/tmux-wormhole/tmux-wormhole.sh' returned 1 #4

Description

@CharlesARoy

Hello, I just learned about tmux-wormhole via the Tmux Plugins page and the functionality of it looked awesome, so I decided to try it. It was only after trying to use it that I realized that the fundamental functionality came from Magic Wormhole (which is new to me).

Anyway, when installing tmux-wormhole, I first installed Go v1.23.4, then, not understanding that tmux-wormhole required Magic Wormhole (which isn't mentioned in the prerequisites), I installed tmux-wormhole with the Tmux Plugin Manager. When it still wasn't working, I then went through the steps to install tmux-wormhole manually.

After this, I finally realized that Magic Wormhole was needed and installed and tested the functionality of Magic Wormhole successfully.

At this point, my ~/.tmux.config file has two new lines related to my attempts at installing tmux-wormhole:

set -g @plugin 'gcla/tmux-wormhole'
run-shell ~/.tmux/plugins/tmux-wormhole/tmux-wormhole.tmux

Now, when try to use tmux-wormhole and run the default prefix-w in Tmux, I get an error message that says:
'~/.tmux/plugins/tmux-wormhole/tmux-wormhole.sh' returned 1

I'm not sure why that script is erroring out, any ideas?

More generally though, now that I am aware of Magic Wormhole, I'm not very clear on what tmux-wormhole accomplishes vis-a-vis Magic Wormhole. In your demo on the main page, it looks like tmux-wormhole is used to somehow bypass the need to run wormhole receive <secret> on the destination machine. Is that right? In my case, I'm running Tmux on the remote server and want to transfer files to my local computer but maybe tmux-wormhole only works if you're running Tmux on the destination machine? I can't make sense of it. Thanks for your help!

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions