summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorAlan Pearce2023-03-08 07:51:58 +0100
committerAlan Pearce2023-03-08 07:51:58 +0100
commit9a0180ea9ab5408a1384df5f100c0a4fb9cd300d (patch)
treeb87888d21ed9b0e8bf31339d7aa10a247518d2fa
parent3a0ea29d421a6f6af3377070913bb96e7c1dbfa8 (diff)
downloadnixfiles-9a0180ea9ab5408a1384df5f100c0a4fb9cd300d.tar.lz
nixfiles-9a0180ea9ab5408a1384df5f100c0a4fb9cd300d.tar.zst
nixfiles-9a0180ea9ab5408a1384df5f100c0a4fb9cd300d.zip
zsh: let home-manager manage zsh compinit
-rw-r--r--user/settings/zsh.nix4
1 files changed, 1 insertions, 3 deletions
diff --git a/user/settings/zsh.nix b/user/settings/zsh.nix
index 3da0a098..e3a9efe9 100644
--- a/user/settings/zsh.nix
+++ b/user/settings/zsh.nix
@@ -42,7 +42,7 @@ in {
     enable = true;
 
     enableAutosuggestions = true;
-    enableCompletion = false;
+    enableCompletion = true;
     defaultKeymap = "emacs";
 
     dotDir = ".config/zsh";
@@ -197,8 +197,6 @@ in {
 
     initExtra =
       ''
-        autoload -Uz compinit
-        compinit -C
         typeset -T GHQ_ROOT ghq_root
         export GHQ_ROOT="$HOME/projects"