-
-
Notifications
You must be signed in to change notification settings - Fork 2.4k
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
fish: In ^r, multiline commands become multiple separate commands #436
Comments
The problem is that fzf's fish plugin uses Line 29 in a1db64e
|
Thanks for the report, but unfortunately I don't know how to fix this, I don't use fish, so.. Got any idea? |
This returns a string with escaped newline characters in, e.g
|
For un-escape just use printf. |
In fish the $history var holds all the the commands as an array. It could be used to solve it without hack the history file. |
The best way to deal with that would be adding |
hmm, does |
@amosbird sweet. https://github.com/fish-shell/fish-shell/blob/master/src/history.cpp#L1549 I'll prepare a PR. |
Better link: fish-shell/fish-shell@a26f68d |
well, please notice there is one issue #953 |
Steps to reproduce:
First execute a multiline command, e.g.
Then try to retrieve that: ^r echo
Expected:
fzf to return...
Actual:
fzf returns...
echo $i
The text was updated successfully, but these errors were encountered: