aboutsummaryrefslogtreecommitdiffstats
path: root/zsh
diff options
context:
space:
mode:
authorJohannes Löthberg <johannes@kyriasis.com>2016-10-05 11:09:37 +0200
committerJohannes Löthberg <johannes@kyriasis.com>2017-06-01 18:37:35 +0200
commit9591869f648135dcf5bdcb45dc86f5033aca4a06 (patch)
tree162c8fc06a75e63a506c6c98a7c04c16577f11f8 /zsh
parent660254d03331c73366c0a1241b1e361ac0e2c88b (diff)
downloaddotfiles-9591869f648135dcf5bdcb45dc86f5033aca4a06.tar.xz
zshrc: Use lscolors for tab completion
Signed-off-by: Johannes Löthberg <johannes@kyriasis.com>
Diffstat (limited to 'zsh')
-rw-r--r--zsh/.zshrc3
1 files changed, 3 insertions, 0 deletions
diff --git a/zsh/.zshrc b/zsh/.zshrc
index 2e628c8..502ae26 100644
--- a/zsh/.zshrc
+++ b/zsh/.zshrc
@@ -9,6 +9,9 @@ zstyle ':completion:*' menu select
zstyle ':completion:*' use-cache on
zstyle ':completion:*' rehash yes
+# Colors for file completion
+zstyle ':completion:*' list-colors ${(s.:.)LS_COLORS}
+
fpath=("$ZDOTDIR"/completion "${fpath[@]}")
autoload -Uz colors \