summaryrefslogtreecommitdiff
path: root/etc
diff options
context:
space:
mode:
authorDaniel Friesel <derf@derf.homelinux.org>2008-07-23 12:24:36 +0200
committerDaniel Friesel <derf@derf.homelinux.org>2008-07-23 12:24:36 +0200
commit7d83624f1a506836a01b3a6e2c9224cf6f538e86 (patch)
tree38b10dba1da46994c624ee0beab303e4ea46d764 /etc
parent6a0f98b3ab58174eff8e22c7907e867ae0a23331 (diff)
etc/completion: Also complete ' ' with '_'
Diffstat (limited to 'etc')
-rw-r--r--etc/completion4
1 files changed, 2 insertions, 2 deletions
diff --git a/etc/completion b/etc/completion
index 4c6f4cb..6a28e95 100644
--- a/etc/completion
+++ b/etc/completion
@@ -7,7 +7,7 @@ ls-colors: zstyle ':completion:*' list-colors ${(s.:.)LS_COLORS}
# Mark the current selection when tabbing through possible completions
zstyle ':completion:*' menu select=1
-# Also complete uppercase names with lowercase
-zstyle ':completion:*' matcher-list 'm:{a-z}={A-Z}' ''
+# Complete uppercase names with lowercase and spaces with _
+zstyle ':completion:*' matcher-list 'm:_= m:{a-z}={A-Z}' ''
_hosts() { compadd derf.homelinux.org kraftwerk saviour kappa nemesis aneurysm;}