about summary refs log tree commit diff
path: root/modules/user
diff options
context:
space:
mode:
authordevhell <devhell@mailfresser.de>2021-08-02 23:17:39 +0100
committerdevhell <devhell@mailfresser.de>2021-08-02 23:17:39 +0100
commit39a07779df3b2bf122805ed26ee222a056c4f724 (patch)
treef63a3041d69edb5df3c80a77d445e419c03c7e75 /modules/user
parent28cc53f805773cee3bd09f8fb090664c592ac58b (diff)
devhell/base: Add tab-completion colors
This was annoying me for the longest time, but now I have colors back
when ZSH tab completes paths.
Diffstat (limited to 'modules/user')
-rw-r--r--modules/user/devhell/profiles/base.nix1
1 files changed, 1 insertions, 0 deletions
diff --git a/modules/user/devhell/profiles/base.nix b/modules/user/devhell/profiles/base.nix
index b1e7d847..071e4bd2 100644
--- a/modules/user/devhell/profiles/base.nix
+++ b/modules/user/devhell/profiles/base.nix
@@ -74,6 +74,7 @@ in {
         '';
         interactiveShellInit = ''
           zstyle ':completion:*' menu select
+          zstyle ':completion:*:default' list-colors ${(s.:.)LS_COLORS}
           source ${pkgs.fzf}/share/fzf/key-bindings.zsh
         '';
         shellAliases = {