From 114c2e93be6e20eda1e254897455bf6f38f050bd Mon Sep 17 00:00:00 2001 From: materus Date: Thu, 21 Mar 2024 18:55:50 +0100 Subject: [PATCH] Fix zsh prompt --- configurations/profile/home/shell/zsh.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/configurations/profile/home/shell/zsh.nix b/configurations/profile/home/shell/zsh.nix index bf5f7a6..9368d85 100644 --- a/configurations/profile/home/shell/zsh.nix +++ b/configurations/profile/home/shell/zsh.nix @@ -4,7 +4,7 @@ let relToDotDir = file: (lib.optionalString (config.programs.zsh.dotDir != null) (config.programs.zsh.dotDir + "/")) + file; pluginsDir = if config.programs.zsh.dotDir != null then - relToDotDir "plugins" else ".zsh/plugins"; + relToDotDir "plugins" else "${config.home.homeDirectory}/.zsh/plugins";