fixed alias and export renderers writing values in single quotes

This commit is contained in:
2026-02-19 18:19:49 -05:00
parent 0bc55ff365
commit 7a24f91334

View File

@@ -108,8 +108,8 @@ in
home.file.".fernrc".text = lib.concatLines [
cfg.settings.extraPreConfig
(lib.concatLines (lib.mapAttrsToList (name: value: "export ${name}='${value}'") cfg.environmentVars))
(lib.concatLines (lib.mapAttrsToList (name: value: "alias ${name}='${value}'") cfg.aliases))
(lib.concatLines (lib.mapAttrsToList (name: value: "export ${name}=\"${value}\"") cfg.environmentVars))
(lib.concatLines (lib.mapAttrsToList (name: value: "alias ${name}=\"${value}\"") cfg.aliases))
(lib.concatLines [
"shopt core.dotglob=${boolToString cfg.settings.dotGlob}"
"shopt core.autocd=${boolToString cfg.settings.autocd}"