mirror of
https://github.com/ohmyzsh/ohmyzsh.git
synced 2025-12-05 01:46:46 +01:00
znt: n-history supports multi-line cmds and starts with current buffer
This commit is contained in:
parent
afd28bf1fc
commit
c2b4d9ff40
5 changed files with 27 additions and 3 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue