mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-06-09 09:36:20 +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:
parent
e6625a2174
commit
732a1dca73
1 changed files with 1 additions and 1 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue