Fix zsh prompt
This commit is contained in:
parent
fe55b38bf9
commit
114c2e93be
|
@ -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";
|
||||
|
||||
|
||||
|
||||
|
|
Loading…
Reference in New Issue