mirror of
https://github.com/nix-community/home-manager.git
synced 2026-01-11 17:39:37 +08: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:
@@ -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
|
||||
'';
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user