1
0
Fork 0
mirror of https://github.com/nix-community/home-manager synced 2024-11-26 21:19:45 +01:00

zsh: fix broken ZDOTDIR when path contains spaces

This commit is contained in:
Joey Territo 2024-02-18 17:00:56 -06:00 committed by Robert Helgesson
parent 0b69d57416
commit 0e0e966954
No known key found for this signature in database
GPG key ID: 96E745BD17AA17ED

View file

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