summaryrefslogtreecommitdiffstats
path: root/common/commandline
diff options
context:
space:
mode:
authorMinijackson <minijackson@riseup.net>2024-08-03 15:52:25 +0200
committerMinijackson <minijackson@riseup.net>2024-08-03 15:52:25 +0200
commita021bc47207d3ce3d8307e2131e8920ef4dcecd2 (patch)
treea896c8a5f2fefaf30283c8bae61a3980fdc09043 /common/commandline
parent432ac8400b8590cb648f56a89dee3ad372d29955 (diff)
downloadnixos-config-reborn-a021bc47207d3ce3d8307e2131e8920ef4dcecd2.tar.gz
nixos-config-reborn-a021bc47207d3ce3d8307e2131e8920ef4dcecd2.zip
common/zsh: speed up compinit
Diffstat (limited to 'common/commandline')
-rw-r--r--common/commandline/zsh.nix5
1 files changed, 5 insertions, 0 deletions
diff --git a/common/commandline/zsh.nix b/common/commandline/zsh.nix
index 17504e9..919edb3 100644
--- a/common/commandline/zsh.nix
+++ b/common/commandline/zsh.nix
@@ -14,6 +14,11 @@ in
14 enable = true; 14 enable = true;
15 15
16 interactiveShellInit = '' 16 interactiveShellInit = ''
17 # Use cache file as is, to speed-up start time
18 # This does mean we have to run once in a while:
19 # compinit -d .config/zsh/.zcompdump
20 zstyle ':grml:completion:compinit' arguments -C
21
17 source "${pkgs.grml-zsh-config}/etc/zsh/zshrc" 22 source "${pkgs.grml-zsh-config}/etc/zsh/zshrc"
18 is4 && xsource "${pkgs.grml-zsh-config}/etc/zsh/keephack" 23 is4 && xsource "${pkgs.grml-zsh-config}/etc/zsh/keephack"
19 24