Permalink
Browse files

Merge pull request #48026 from mnacamura/fish-escapeshellarg

nixos/fish: use 'escapeShellArg' for shell aliases
  • Loading branch information...
Infinisil committed Oct 11, 2018
2 parents da35297 + fb0b3ac commit a232e5f13c6f435a17d3c0b759fcfb2b350c2722
Showing with 1 addition and 1 deletion.
  1. +1 −1 nixos/modules/programs/fish.nix
@@ -9,7 +9,7 @@ let
cfg = config.programs.fish;
fishAliases = concatStringsSep "\n" (
mapAttrsFlatten (k: v: "alias ${k} '${v}'") cfg.shellAliases
mapAttrsFlatten (k: v: "alias ${k} ${escapeShellArg v}") cfg.shellAliases
);
in

0 comments on commit a232e5f

Please sign in to comment.