Skip to content
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

Handle multi-line commands in history #599

Closed
3 of 14 tasks
rocketraman opened this issue Jun 14, 2016 · 2 comments
Closed
3 of 14 tasks

Handle multi-line commands in history #599

rocketraman opened this issue Jun 14, 2016 · 2 comments

Comments

@rocketraman
Copy link

rocketraman commented Jun 14, 2016

  • Category
    • fzf binary
    • fzf-tmux script
    • Key bindings
    • Completion
    • Vim
    • Neovim
    • Etc.
  • OS
    • Linux
    • Mac OS X
    • Windows
    • Etc.
  • Shell
    • bash
    • zsh
    • fish

My fish history contains commands that span multiple lines e.g.:

foo bar \
  baz

However, fzf (specifically when using ctrl-r, but probably elsewhere as well) treats the command above as it was two separate commands.

I have only tried this with fish on Linux, but it probably applies to other shells too.

@rocketraman rocketraman changed the title Handle multi-line history commands Handle multi-line commands in history Jun 14, 2016
@rocketraman
Copy link
Author

rocketraman commented Jun 14, 2016

Using fish 2.3.0, fzf 0.13.1.

@junegunn
Copy link
Owner

junegunn commented Jun 14, 2016

Yeah, it's a known issue only for fish (#436). There is an incomplete patch (#440) for that, but the contributor has been inactive for months, so you can take over the work if you're familiar with fish scripting.

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

No branches or pull requests

2 participants