summaryrefslogtreecommitdiff
path: root/etc
diff options
context:
space:
mode:
Diffstat (limited to 'etc')
-rw-r--r--etc/completion7
1 files changed, 5 insertions, 2 deletions
diff --git a/etc/completion b/etc/completion
index 6ccf8fa..a0c8dd5 100644
--- a/etc/completion
+++ b/etc/completion
@@ -1,12 +1,15 @@
## vim:ft=zsh
+zstyle :compinstall filename "$HOME/.zshrc"
+
# Add own completions
fpath=($ZDIR/completions $fpath)
-zstyle :compinstall filename "$HOME/.zshrc"
-ls-colors: zstyle ':completion:*' list-colors $(dircolors $HOME/packages/zsh/etc/dircolors | head -n 1 | sed -r 's/LS_COLORS=|;$//g')
+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}' ''