mirror of
https://github.com/LnL7/nix-darwin.git
synced 2024-12-14 11:57:34 +00:00
parent
72bbc11aed
commit
e88eb66c2b
2 changed files with 2 additions and 2 deletions
|
@ -9,7 +9,7 @@ let
|
|||
mapAttrsToList (n: v: ''export ${n}="${v}"'') cfg.variables;
|
||||
|
||||
aliasCommands =
|
||||
mapAttrsFlatten (n: v: ''alias ${n}=${escapeShellArg v}'')
|
||||
mapAttrsToList (n: v: ''alias ${n}=${escapeShellArg v}'')
|
||||
(filterAttrs (k: v: v != null) cfg.shellAliases);
|
||||
|
||||
makeDrvBinPath = concatMapStringsSep ":" (p: if isDerivation p then "${p}/bin" else p);
|
||||
|
|
|
@ -9,7 +9,7 @@ let
|
|||
cfg = config.programs.fish;
|
||||
|
||||
fishAliases = concatStringsSep "\n" (
|
||||
mapAttrsFlatten (k: v: "alias ${k} ${escapeShellArg v}")
|
||||
mapAttrsToList (k: v: "alias ${k} ${escapeShellArg v}")
|
||||
(filterAttrs (k: v: v != null) cfg.shellAliases)
|
||||
);
|
||||
|
||||
|
|
Loading…
Reference in a new issue