mirror of
https://github.com/ohmyzsh/ohmyzsh.git
synced 2025-12-10 10:19:51 +00:00
znt: Update to v2.2.7 (#5576)
This commit is contained in:
@@ -310,8 +310,9 @@ while (( 1 )); do
|
||||
colsearch_pattern="${search_buffer// ##/|(#a2)}"
|
||||
list=( "${(@M)list:#(#ia2)*$~search_pattern*}" )
|
||||
else
|
||||
# Patterns will be *foo*~^*bar* and (foo|bar)
|
||||
# Pattern will be *foo*~^*bar* (inventor: Mikael Magnusson)
|
||||
search_pattern="${search_buffer// ##/*~^*}"
|
||||
# Pattern will be (foo|bar)
|
||||
colsearch_pattern="${search_buffer// ##/|}"
|
||||
list=( "${(@M)list:#(#i)*$~search_pattern*}" )
|
||||
fi
|
||||
|
||||
Reference in New Issue
Block a user