Join GitHub today
GitHub is home to over 20 million developers working together to host and review code, manage projects, and build software together.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
Already on GitHub? Sign in to your account
Escape and complete -C (for fzf completion widget) #3469
Comments
faho
added
the
bug
label
Oct 19, 2016
faho
added this to the fish-future milestone
Oct 19, 2016
|
Yes, can reproduce. We have a bunch of issues with escaping (because it's really confusing), but I can't find this particular one. |
This was referenced Jan 3, 2017
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Ambrevar commentedOct 17, 2016
•
edited
fish 2.3.1, Arch Linux, urxvt 9.22
I am trying to write a widget to replace fish completion menu with fzf. (Awesome, right? ;) )
The idea is simple:
Problem is,
complete -Cunescapes the tokens a bit too much, which makes variables indistinguishable from escaped dollars.Example:
Replace
<binding>with a binding to a function that prints outcomplete -C. Result:The result is unusable since there is no way for the calling function to know what should be escaped.
The normal completion does preserve the escaped token though:
I think
complete -Cshould do the same.This might be related to #1127.