update aws

This commit is contained in:
reonokiy 2025-03-20 17:38:10 +08:00
parent 24c8d3d1cb
commit 8bd63f012c
Signed by: reonokiy
SSH key fingerprint: SHA256:2VjKpUxMIe0QYY3OVnOMuPiB0X5pvrIpJ+UiyFhxtq0
2 changed files with 21 additions and 0 deletions

View file

@ -0,0 +1,11 @@
function fish_aws_profile
if test (count $argv) -eq 0
set -e AWS_PROFILE
echo "AWS profile cleared"
return 0
end
set -gx AWS_PROFILE $argv[1]
echo "AWS profile set to $AWS_PROFILE"
end

View file

@ -18,3 +18,13 @@ disabled = false
[container]
disabled = true
{{ end }}
[aws]
format = 'on [$symbol($profile )(\($region\) )]($style)'
style = 'bold blue'
symbol = '🅰 '
[aws.region_aliases]
ap-east-1 = 'hk'
ap-southeast-1 = 'sg'
ap-northeast-1 = 'tokyo'