mirror of
https://github.com/oh-my-fish/theme-bobthefish.git
synced 2025-06-13 13:03:54 +00:00
fix
This commit is contained in:
parent
a801ad1610
commit
7dd8f19216
@ -509,7 +509,7 @@ end
|
|||||||
# ==============================
|
# ==============================
|
||||||
|
|
||||||
function __bobthefish_prompt_aws_account_id -S -d 'Display AWS AccountId'
|
function __bobthefish_prompt_aws_account_id -S -d 'Display AWS AccountId'
|
||||||
function get-account-auto -S --on-variable AWS_ACCESS_KEY_ID
|
function get-account-auto -S --on-variable AWS_SESSION_TOKEN
|
||||||
set -x AWS_ACCOUNT_ID (aws sts get-caller-identity --output text --query "Account")
|
set -x AWS_ACCOUNT_ID (aws sts get-caller-identity --output text --query "Account")
|
||||||
end
|
end
|
||||||
[ "$theme_display_aws_account_id" = 'no' -o -n "$AWS_ACCOUNT_ID" ]; or return
|
[ "$theme_display_aws_account_id" = 'no' -o -n "$AWS_ACCOUNT_ID" ]; or return
|
||||||
|
Loading…
Reference in New Issue
Block a user