mirror of
https://github.com/ohmyzsh/ohmyzsh.git
synced 2025-12-17 21:59:51 +00:00
znt: n-history supports multi-line cmds and starts with current buffer
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user