From 9591869f648135dcf5bdcb45dc86f5033aca4a06 Mon Sep 17 00:00:00 2001 From: Johannes Löthberg Date: Wed, 5 Oct 2016 11:09:37 +0200 Subject: zshrc: Use lscolors for tab completion MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Johannes Löthberg --- zsh/.zshrc | 3 +++ 1 file changed, 3 insertions(+) (limited to 'zsh') 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 \ -- cgit v1.2.3-54-g00ecf