1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2025-06-09 17:46:29 +09:00

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:
Luflosi 2025-02-26 17:02:53 +01:00
parent e6625a2174
commit 732a1dca73
No known key found for this signature in database
GPG key ID: 743C5DD6900A1FF0

View file

@ -59,7 +59,7 @@ let
shell: shell:
if (shell != "fish") then if (shell != "fish") then
'' ''
eval $(${getExe finalPackage} ${shell} --alias ${cfg.alias}) eval "$(${getExe finalPackage} ${shell} --alias ${cfg.alias})"
'' ''
else else
'' ''