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";