mirror of
https://github.com/dvorka/hstr.git
synced 2025-02-24 06:47:16 +08:00
Fixing wrong hh vs. hstr command name on WSL which resolves #236
This commit is contained in:
parent
ed34f8e9a0
commit
f9ee27a783
1 changed files with 1 additions and 1 deletions
|
@ -198,7 +198,7 @@ static const char *INSTALL_BASH_STRING=
|
|||
"\nfunction hstr_winwsl {"
|
||||
"\n offset=${READLINE_POINT}"
|
||||
"\n READLINE_POINT=0"
|
||||
"\n { READLINE_LINE=$(</dev/tty hh ${READLINE_LINE:0:offset} 2>&1 1>&$hstrout); } {hstrout}>&1"
|
||||
"\n { READLINE_LINE=$(</dev/tty hstr ${READLINE_LINE:0:offset} 2>&1 1>&$hstrout); } {hstrout}>&1"
|
||||
"\n READLINE_POINT=${#READLINE_LINE}"
|
||||
"\n}"
|
||||
"\nif [[ $- =~ .*i.* ]]; then bind -x '\"\\C-r\": \"hstr_winwsl\"'; fi"
|
||||
|
|
Loading…
Reference in a new issue