Fix zsh prompt

This commit is contained in:
Mateusz Słodkowicz 2024-03-21 18:55:50 +01:00
parent fe55b38bf9
commit 114c2e93be
Signed by: materus
GPG Key ID: 28D140BCA60B4FD1
1 changed files with 1 additions and 1 deletions

View File

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