-
Notifications
You must be signed in to change notification settings - Fork 226
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
Suspend (CTRL-z) and close running CLI (CTRL-c) and various other behaviors causes "Copy to Clipboard" behavior to trigger #370
Comments
weird. i literally have no idea how that's happening. what terminal are you using? |
iTerm 2 (3.5.2) + tmux (3.4) |
Maybe |
0c15ff1#commitcomment-144040411 this is helpful! what fish version are you running? do you have a path builtin? |
I did have a custom fish function called Otherwise, I don't quite know what you mean by "path builtin". |
that sounds an awful lot like the culprit, to be honest. run |
If I'm right, I just pushed a change that will fix your issue. Give it a shot? |
This fixed it! Thank you |
Great to hear! You should probably consider renaming your "copy the path" function to something that doesn't collide with a fish builtin :) |
Hey @andrew-enquanta, I’m going to need to revert this change; it turns out builtins are checked at parse time, not runtime, so making a conditional builtin call just breaks it for anyone who doesn’t have that builtin. See #371 for more info. Given that LTS linux versions ship with Fishes too old for a I’ll keep looking for other workarounds, but at this point I think the proper fix is a very strong suggestion that you not have functions named the same thing as builtins :) |
Copy that. thanks for the update |
Using the most recent bobthefish from omf on macOS, I get the following unwanted behaviors:
Suspend (CTRL-z)
close running CLI (CTRL-c)
piping anything to pbcopy
These all copies current path to clipboard.
I know it is bobthefish causing this because it immediately goes away when I
omf remove bobthefish
.Please let me know if there is any other logging I can provide.
Thanks
The text was updated successfully, but these errors were encountered: