mirror of
https://github.com/IlanCosman/tide.git
synced 2024-12-23 12:03:48 +03:00
1662401be6
* 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>
28 lines
520 B
Fish
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
|