diff options
author | psprint <sgniazdowski@gmail.com> | 2016-11-02 13:08:58 +0100 |
---|---|---|
committer | Marc Cornellà <marc.cornella@live.com> | 2016-11-02 13:08:58 +0100 |
commit | 73591101b6db1e67ad3a0c2f90c81bc8174f4056 (patch) | |
tree | b4439737be96f0a715b5e1f87f07a0fcc1a6e557 /plugins/zsh-navigation-tools/n-list | |
parent | 0f62b7a8d8708910e75fedb9d7b8e3d8559a34da (diff) | |
download | zsh-73591101b6db1e67ad3a0c2f90c81bc8174f4056.tar.gz zsh-73591101b6db1e67ad3a0c2f90c81bc8174f4056.tar.bz2 zsh-73591101b6db1e67ad3a0c2f90c81bc8174f4056.zip |
znt: Update to v2.2.7 (#5576)
Diffstat (limited to 'plugins/zsh-navigation-tools/n-list')
-rw-r--r-- | plugins/zsh-navigation-tools/n-list | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/plugins/zsh-navigation-tools/n-list b/plugins/zsh-navigation-tools/n-list index f3d2e5b3e..3fe5542a6 100644 --- a/plugins/zsh-navigation-tools/n-list +++ b/plugins/zsh-navigation-tools/n-list @@ -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 |