summaryrefslogtreecommitdiff
path: root/etc/completion
diff options
context:
space:
mode:
authorDaniel Friesel <derf@derf.homelinux.org>2009-05-02 17:36:36 +0200
committerDaniel Friesel <derf@derf.homelinux.org>2009-05-02 17:36:36 +0200
commit5acbc5153d58fcad2d40ccc774af1accf41e4c8b (patch)
treee0b3df6971e2b184acd5324b266e16f292ccaefe /etc/completion
parentcc8d582c61728870c301b19be38c1b689f1a507c (diff)
completion: Expand any part of a file name, not just the beginning
Diffstat (limited to 'etc/completion')
-rw-r--r--etc/completion2
1 files changed, 1 insertions, 1 deletions
diff --git a/etc/completion b/etc/completion
index 1dfa7f8..15b6508 100644
--- a/etc/completion
+++ b/etc/completion
@@ -12,7 +12,7 @@ zstyle ':completion:*' list-colors ${(s.:.)LS_COLORS}
zstyle ':completion:*' menu select=1
# Complete uppercase names with lowercase and spaces with _
-zstyle ':completion:*' matcher-list 'm:{a-z}={A-Z} m:_=\\\ ' ''
+zstyle ':completion:*' matcher-list '' 'm:{a-z}={A-Z} m:_=\\\ ' '+ l:|=* r:|=*'
# Be verbose
zstyle ':completion:*' verbose true