Commit 44a1259 Jacob Woffenden
authored
1 parent 79c2eba commit 44a1259 Copy full SHA for 44a1259
File tree 1 file changed +4
-4
lines changed
features/src/aws/src/home/vscode/.devcontainer/promptrc.d
1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change 2
2
# shellcheck disable=SC2016
3
3
4
4
PROMPT+=' `\
5
- if [[ ${AWS_SSO_PROFILE} == *"development"* || ${AWS_SSO_PROFILE} == *"test"* ]]; then \
5
+ if [[ ${AWS_SSO_PROFILE} == *"development"* ]]; then \
6
6
echo -n "[ aws: %{$fg[green]%}${AWS_SSO_PROFILE}@${AWS_DEFAULT_REGION}%{$reset_color%} ] "; \
7
+ elif [[ ${AWS_SSO_PROFILE} == *"test"* ]]; then \
8
+ echo -n "[ aws: %{$fg[blue]%}${AWS_SSO_PROFILE}@${AWS_DEFAULT_REGION}%{$reset_color%} ] "; \
7
9
elif [[ ${AWS_SSO_PROFILE} == *"preproduction"* ]]; then \
8
10
echo -n "[ aws: %{$fg[yellow]%}${AWS_SSO_PROFILE}@${AWS_DEFAULT_REGION}%{$reset_color%} ] "; \
9
11
elif [[ ${AWS_SSO_PROFILE} == *"production"* ]]; then \
10
12
echo -n "[ aws: %{$fg[red]%}${AWS_SSO_PROFILE}@${AWS_DEFAULT_REGION}%{$reset_color%} ] "; \
11
- elif [[ ! -z ${AWS_SSO_PROFILE} ]]; then \
12
- echo -n "[ aws: %{$fg[blue]%}${AWS_SSO_PROFILE}@${AWS_DEFAULT_REGION}%{$reset_color%} ] "; \
13
- fi \
13
+ fi
14
14
`'
You can’t perform that action at this time.
0 commit comments