tide/tests/_tide_item_aws.test.fish
Oleksandr Kravtsov 1662401be6
Add aws item (#293)
* Add aws item

* Minor edits to item code

* Use nerd font icon

* Fix test for new icon, add aws to list of tool items

Co-authored-by: Ilan Cosman <ilancosman@gmail.com>
2022-04-25 10:40:50 -07:00

28 lines
520 B
Fish

# RUN: %fish %s
function _aws
_tide_decolor (_tide_item_aws)
end
_aws # CHECK:
set -lx tide_aws_icon
set -lx AWS_DEFAULT_PROFILE default_profile
_aws # CHECK:  default_profile
set -lx AWS_DEFAULT_REGION default_region
_aws # CHECK:  default_profile/default_region
set -lx AWS_PROFILE non_default_profile
set -lx AWS_REGION non_default_region
_aws # CHECK:  non_default_profile/non_default_region
set -e AWS_REGION
set -e AWS_PROFILE
set -e AWS_DEFAULT_PROFILE
_aws # CHECK:  default_region