diff --git a/rootfs/etc/profile.d/aws-okta.sh b/rootfs/etc/profile.d/aws-okta.sh index 13bd058ef..2125a5e12 100755 --- a/rootfs/etc/profile.d/aws-okta.sh +++ b/rootfs/etc/profile.d/aws-okta.sh @@ -1,7 +1,7 @@ #!/bin/bash if [ "${AWS_OKTA_ENABLED}" == "true" ]; then - if ! which aws-okta >/dev/null ; then + if ! which aws-okta >/dev/null; then echo "aws-okta not installed" exit 1 fi diff --git a/rootfs/etc/profile.d/aws-vault.sh b/rootfs/etc/profile.d/aws-vault.sh index 63dd8051a..854884095 100755 --- a/rootfs/etc/profile.d/aws-vault.sh +++ b/rootfs/etc/profile.d/aws-vault.sh @@ -1,7 +1,7 @@ #!/bin/bash if [ "${AWS_VAULT_ENABLED}" == "true" ]; then - if ! which aws-vault >/dev/null ; then + if ! which aws-vault >/dev/null; then echo "aws-vault not installed" exit 1 fi @@ -35,7 +35,6 @@ if [ "${AWS_VAULT_ENABLED}" == "true" ]; then fi } - # Start a shell or run a command with an assumed role function aws_vault_assume_role() { role=${1:-${AWS_DEFAULT_PROFILE}} diff --git a/rootfs/etc/profile.d/prompt.sh b/rootfs/etc/profile.d/prompt.sh index 35aa85c4b..73915f1ab 100755 --- a/rootfs/etc/profile.d/prompt.sh +++ b/rootfs/etc/profile.d/prompt.sh @@ -39,8 +39,8 @@ function geodesic_prompt() { unicode) # unicode - ASSUME_ROLE_ACTIVE_MARK=$'\u2705 ' # '✅' - ASSUME_ROLE_INACTIVE_MARK=$'\u274C ' # '❌' + ASSUME_ROLE_ACTIVE_MARK=$'\u2705 ' # '✅' + ASSUME_ROLE_INACTIVE_MARK=$'\u274C ' # '❌' BLACK_RIGHTWARDS_ARROWHEAD=$'\u27A4 ' # '➤', suggest '▶' may be present in more fonts BANNER_MARK=$'\u29C9 ' # '⧉' ;; @@ -49,7 +49,7 @@ function geodesic_prompt() { # default ASSUME_ROLE_ACTIVE_MARK=$' \x01'$(tput bold)$(tput setaf 2)$'\x02\u2713 \x01'$(tput sgr0)$'\x02' # green bold '✓' ASSUME_ROLE_INACTIVE_MARK=$' \x01'$(tput bold)$(tput setaf 1)$'\x02\u2717 \x01'$(tput sgr0)$'\x02' # red bold '✗' - BLACK_RIGHTWARDS_ARROWHEAD=$'\u2a20 ' # '⨠' + BLACK_RIGHTWARDS_ARROWHEAD=$'\u2a20 ' # '⨠' BANNER_MARK='⧉ ' ;; esac