From 7fa1b99b2732fba2d99f804ea61e926be2d8c0d9 Mon Sep 17 00:00:00 2001 From: T31M Date: Thu, 5 Mar 2020 13:40:38 +0100 Subject: [PATCH] bugfix: display other envs than 'dev' --- fish/theme-t31m/envAWS.fish | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/fish/theme-t31m/envAWS.fish b/fish/theme-t31m/envAWS.fish index e3f3d1c..9666c78 100644 --- a/fish/theme-t31m/envAWS.fish +++ b/fish/theme-t31m/envAWS.fish @@ -54,11 +54,11 @@ function getAWSenv --description 'verify and set environment' end if [ $aws_account_id = $DEV_ACCOUNT_ID ] set -g env dev - else if [ $aws_account_id = $STG_ACCOUNT_ID] + else if [ $aws_account_id = $STG_ACCOUNT_ID ] set -g env stg - else if [ $aws_account_id = $PROD_ACCOUNT_ID] + else if [ $aws_account_id = $PROD_ACCOUNT_ID ] set -g env prod - else if [ $aws_account_id = $OPS_ACCOUNT_ID] + else if [ $aws_account_id = $OPS_ACCOUNT_ID ] set -g env ops else set -ge env