1
0
Fork 0
mirror of https://github.com/nix-community/home-manager synced 2024-09-21 13:57:31 +02: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 Mikilio
parent c8e39cdb04
commit 9aea11023d
No known key found for this signature in database
GPG key ID: 5B2F1A890CF33F3F

View file

@ -22,7 +22,7 @@ let
mapAttrsToList (k: v: ''hash -d ${k}="${v}"'') cfg.dirHashes mapAttrsToList (k: v: ''hash -d ${k}="${v}"'') cfg.dirHashes
); );
zdotdir = "$HOME/" + cfg.dotDir; zdotdir = "$HOME/" + lib.escapeShellArg cfg.dotDir;
bindkeyCommands = { bindkeyCommands = {
emacs = "bindkey -e"; emacs = "bindkey -e";