fzf bash history CTRL+R not working

Created on 31 Dec 2017  Â·  6Comments  Â·  Source: junegunn/fzf

  • Category

    • [ ] fzf binary

    • [ ] fzf-tmux script

    • [ ] Key bindings

    • [ ] Completion

    • [ ] Vim

    • [ ] Neovim

    • [* ] Etc.

  • OS

    • [* ] Linux

    • [ ] Mac OS X

    • [ ] Windows

    • [ ] Windows Subsystem for Linux

    • [ ] Etc.

  • Shell

    • [* ] bash

    • [ ] zsh

    • [ ] fish

I used to be able to invoke an fzf search with CTRL+R in bash. However, last night I killed my home dir by accident. I had to rebuild. However, now fzf CTRL+R doesn't work, all I get is the standard history search. My bashrc does include

[ -f ~/.fzf.bash ] && source ~/.fzf.bash

Originally, I think I had installed fzf through a vim plugin. But I'm not understanding what the problem is now. Anyway, the fzf history search was very convenient, I would like to get it back.

question

Most helpful comment

All 6 comments

Rerun the install script.

You mean from vim? Could you point me in the direction of the install
script?

Mindaugas
ミンダウガス

On Dec 31, 2017 20:55, "Junegunn Choi" notifications@github.com wrote:

Rerun the install script.

—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/junegunn/fzf/issues/1190#issuecomment-354599909, or mute
the thread
https://github.com/notifications/unsubscribe-auth/AWA_Mp1PTKpikAqvkj8LwDiRMUywFb_Cks5tF3YWgaJpZM4RP0Mi
.

Thank you

Mindaugas
ミンダウガス

On Dec 31, 2017 21:04, "Junegunn Choi" notifications@github.com wrote:

https://github.com/junegunn/fzf#installation

—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/junegunn/fzf/issues/1190#issuecomment-354600315, or mute
the thread
https://github.com/notifications/unsubscribe-auth/AWA_Mn4-uKbVAO64gD684T5dwmdKOORKks5tF3hogaJpZM4RP0Mi
.

worth noting that my macOS bash environment didn't come with .bashrc, but rather .bash_profile. So my CTRL-R didn't work until I merged the two, by sourcing .bashrc from .bash_profile as discussed here: https://apple.stackexchange.com/questions/51036/what-is-the-difference-between-bash-profile-and-bashrc#comment417289_51038

Thank you @stsully that also fixed it for me.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

nordlow picture nordlow  Â·  3Comments

ghost picture ghost  Â·  3Comments

alistaircolling picture alistaircolling  Â·  3Comments

jberglinds picture jberglinds  Â·  3Comments

aleclarson picture aleclarson  Â·  3Comments