nixos/pay-respects: fix "(eval):1: parse error near `alias'"
The README of pay-respects recommends the following for Bash and Zsh: ```sh eval "$(pay-respects bash --alias)" eval "$(pay-respects zsh --alias)" ``` The code in the NixOS module is missing the quotes. This causes "(eval):1: parse error near `alias'" for me (using Zsh) and the alias `f` does not work.
This commit is contained in:
parent
e6625a2174
commit
732a1dca73
@ -59,7 +59,7 @@ let
|
||||
shell:
|
||||
if (shell != "fish") then
|
||||
''
|
||||
eval $(${getExe finalPackage} ${shell} --alias ${cfg.alias})
|
||||
eval "$(${getExe finalPackage} ${shell} --alias ${cfg.alias})"
|
||||
''
|
||||
else
|
||||
''
|
||||
|
Loading…
x
Reference in New Issue
Block a user