-
Notifications
You must be signed in to change notification settings - Fork 6
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
"returned 1" and doesn't copy #1
Comments
Hi! thanks for giving tmux-fuzzback a go :) I'm not entirely sure why it would error out, but fuzzback doesn't actually do any coping, it just moves you to the match so that you can copy whatever you like in tmux copy mode. Does the script move you to the correct line? I'd like to reproduce the problem, but I'm uncertain what your setup is like, could you provide the tmux version, and fzf version for starters? |
Ah, I assumed incorrectly, my bad. |
No worries :) Hope you have a good time. Let me know if I can help with anything at all |
Closed issue and all, but I worry a bit about the exit status you mentioned. Could you try and run the script from the repo folder cd ~/.tmux/plugins/tmux-fuzzback # or wherever you store the plugin
./scripts/fuzzback.sh That should print out an error message pointing to where in the script the issue originates. |
When I run it there it triggers fzf then when I hit "enter", which I shouldn't do but wanted the error, I get:
My settings: https://github.com/timtyrrell/dotfiles/blob/main/.zshrc#L266-L297 |
Think I know a fix, hang on |
Ok, think you shouldn't exit when you hit enter now. |
fuzzback is supposed to move you to the line in question, so that you can copy whatever you like when fuzzback puts you in tmux copy mode. I don't think this has worked for you up until now, but it should now...hopefully :) |
Great looking plugin! I gave it a spin and FZF pulls up fine but when I hit "enter" on a line I get the below message and it doesn't seem to copy. Can I provide any more info?
[my machine]/.tmux/plugins/tmux-fuzzback/scripts/fuzzback.sh' returned 1
The text was updated successfully, but these errors were encountered: