mirror of
https://github.com/nix-community/home-manager.git
synced 2025-03-26 01:51:37 +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:
parent
7fb8678716
commit
7fd6dc2b94
1 changed files with 1 additions and 1 deletions
|
@ -33,7 +33,7 @@ in {
|
||||||
|
|
||||||
programs.fish.functions.assume = mkIf cfg.enableFishIntegration ''
|
programs.fish.functions.assume = mkIf cfg.enableFishIntegration ''
|
||||||
set -x GRANTED_ALIAS_CONFIGURED "true"
|
set -x GRANTED_ALIAS_CONFIGURED "true"
|
||||||
source ${package}/share/assume.fish
|
source ${package}/share/assume.fish $argv
|
||||||
set -e GRANTED_ALIAS_CONFIGURED
|
set -e GRANTED_ALIAS_CONFIGURED
|
||||||
'';
|
'';
|
||||||
};
|
};
|
||||||
|
|
Loading…
Add table
Reference in a new issue