m/fzf
1
0
mirror of https://github.com/junegunn/fzf.git synced 2025-11-19 09:03:43 -05:00

[bash] Start C-r search with current command line (#1886)

Restore the original line when search is aborted. Add --query
"$READLINE_LINE" and fall back to the current behavior pre Bash 4.

Co-authored-by: Junegunn Choi <junegunn.c@gmail.com>
This commit is contained in:
Jack Bates
2020-02-28 02:47:13 -07:00
committed by GitHub
parent 7bf1f2cc84
commit 7c447bbdc7
3 changed files with 64 additions and 54 deletions

View File

@@ -19,4 +19,4 @@ script:
# LC_ALL=C to avoid escape codes in
# printf %q $'\355\205\214\354\212\244\355\212\270' on macOS. Bash on
# macOS is built without HANDLE_MULTIBYTE?
- make install && ./install --all && LC_ALL=C tmux new-session -d && ruby test/test_go.rb
- make install && ./install --all && LC_ALL=C tmux new-session -d && ruby test/test_go.rb --verbose