From 80d556851695c77d2605656c64b324e56cbf4117 Mon Sep 17 00:00:00 2001 From: Nickiel12 Date: Tue, 11 Oct 2022 16:22:24 -0700 Subject: [PATCH] Revert "EXP!: possible consolidation of powerline10k" changes failed This reverts commit a7bcfae0aa7c37a5a45cb028040f7d9581d0948e. --- modules/zsh.nix | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/modules/zsh.nix b/modules/zsh.nix index 3eb5791..c2e8c2f 100644 --- a/modules/zsh.nix +++ b/modules/zsh.nix @@ -4,10 +4,6 @@ let in { - - home.packages = with.pkgs; [ - zsh-powerlevel10k - ]; programs.zsh = { enable = true; # technically also enabled in user shell @@ -17,6 +13,11 @@ in neofetch ''; + initExtra = '' + [[ ! -f ~/.p10k.zsh ]] || source ~/.p10k.zsh + ''; + + autocd = true; history = { @@ -30,6 +31,7 @@ in { name = "powerline10k"; src = pkgs.zsh-powerlevel10k; + file = "share/zsh-powerlevel10k/powerlevel10k.zsh-theme"; } ]; };