testing version
This commit is contained in:
9
source/histui_enable.sh.inc
Normal file
9
source/histui_enable.sh.inc
Normal file
@ -0,0 +1,9 @@
|
||||
function _histui_run() {
|
||||
COMMANDFILE="${XDG_CACHE_HOME}/histui_command.txt"
|
||||
histui tui 3> "${COMMANDFILE}"
|
||||
READLINE_LINE=$(cat "${COMMANDFILE}")
|
||||
READLINE_POINT=${#READLINE_LINE}
|
||||
}
|
||||
|
||||
bind -x '"\e[A": _histui_run'
|
||||
bind -x '"\C-r": _histui_run'
|
Reference in New Issue
Block a user