1
0
Fork 0
mirror of https://github.com/nix-community/home-manager.git synced 2025-03-24 09:06:17 +00:00

granted: fix fish shell integration (#6602)

Without `$argv` the function will not pass any flags or arguments to the
`assume.fish` script.  These are necessary to use assume to access the
AWS console or use IAM role chaining.
This commit is contained in:
Raine Godmaire 2025-03-11 09:28:43 -04:00 committed by GitHub
parent 7fb8678716
commit 7fd6dc2b94
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -33,7 +33,7 @@ in {
programs.fish.functions.assume = mkIf cfg.enableFishIntegration ''
set -x GRANTED_ALIAS_CONFIGURED "true"
source ${package}/share/assume.fish
source ${package}/share/assume.fish $argv
set -e GRANTED_ALIAS_CONFIGURED
'';
};