znt: n-history supports multi-line cmds and starts with current buffer

This commit is contained in:
Sebastian Gniazdowski 2015-11-30 10:48:30 +01:00
commit c2b4d9ff40
5 changed files with 27 additions and 3 deletions

View file

@ -1,8 +1,10 @@
autoload znt-usetty-wrapper n-history
local NLIST_START_IN_SEARCH_MODE=1
local NLIST_START_IN_UNIQ_MODE=1
local NLIST_SET_SEARCH_TO="$BUFFER"
znt-usetty-wrapper n-history "$@"
unset NLIST_START_IN_SEARCH_MODE
unset NLIST_START_IN_UNIQ_MODE
unset NLIST_SET_SEARCH_TO