zsh: fix broken ZDOTDIR when path contains spaces
This commit is contained in:
parent
0b69d57416
commit
0e0e966954
|
@ -22,7 +22,7 @@ let
|
|||
mapAttrsToList (k: v: ''hash -d ${k}="${v}"'') cfg.dirHashes
|
||||
);
|
||||
|
||||
zdotdir = "$HOME/" + cfg.dotDir;
|
||||
zdotdir = "$HOME/" + lib.escapeShellArg cfg.dotDir;
|
||||
|
||||
bindkeyCommands = {
|
||||
emacs = "bindkey -e";
|
||||
|
|
Loading…
Reference in a new issue