Better search for bash, again
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
src
.gitignore
Cargo.toml
LICENSE
README.md
build.rs

README.md

bis2

Better search for bash, again

Uses flx

Use a keybind in bash to replace the readline search:

# function to interact with readline variables
function bis2_integration {
  { READLINE_LINE=$(</dev/tty bis2 2>&1 1>&$bis2out); } {bis2out}>&1
  READLINE_POINT=${#READLINE_LINE}
}

bind -x '"\C-r": "bis2_integration"'

You should also include the following, in order to be able to use CTRL-S:

# Disable flow control so we can use CTRL-S
stty -ixon