Update Fedora state: 2026-04-29 11:50
This commit is contained in:
parent
42ca768584
commit
10f0d5de1d
338 changed files with 18983 additions and 32 deletions
11
dot_config/private_fish/functions/_tide_item_aws.fish
Normal file
11
dot_config/private_fish/functions/_tide_item_aws.fish
Normal file
|
|
@ -0,0 +1,11 @@
|
|||
function _tide_item_aws
|
||||
# AWS_PROFILE overrides AWS_DEFAULT_PROFILE, AWS_REGION overrides AWS_DEFAULT_REGION
|
||||
set -q AWS_PROFILE && set -l AWS_DEFAULT_PROFILE $AWS_PROFILE
|
||||
set -q AWS_REGION && set -l AWS_DEFAULT_REGION $AWS_REGION
|
||||
|
||||
if test -n "$AWS_DEFAULT_PROFILE" && test -n "$AWS_DEFAULT_REGION"
|
||||
_tide_print_item aws $tide_aws_icon' ' "$AWS_DEFAULT_PROFILE/$AWS_DEFAULT_REGION"
|
||||
else if test -n "$AWS_DEFAULT_PROFILE$AWS_DEFAULT_REGION"
|
||||
_tide_print_item aws $tide_aws_icon' ' "$AWS_DEFAULT_PROFILE$AWS_DEFAULT_REGION"
|
||||
end
|
||||
end
|
||||
Loading…
Add table
Add a link
Reference in a new issue