mirror of
https://gitee.com/mirrors/ohmyzsh.git
synced 2026-10-18 02:36:45 +08:00
znt: n-history supports multi-line cmds and starts with current buffer
This commit is contained in:
1 parent
afd28bf1fc
commit
c2b4d9ff40
5 files changed
+27
-3
No files matched your search
@@ -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