Improve awslogin a bit more

This commit is contained in:
Andrea Mistrali 2021-10-27 09:57:17 +02:00
parent 6771d8b38c
commit 9e4de7b42c
No known key found for this signature in database
GPG Key ID: 6FB0A77F6D5DA9B2
2 changed files with 1 additions and 1 deletions

View File

@ -10,4 +10,4 @@ elif [ $AWS_PROFILE ]; then
fi
echo "Available profiles"
grep profile ~/.aws/config|awk '{print $2}' | sed 's/]//g'
grep profile ~/.aws/config | sed -E 's/\[profile (.+)\]/\1/'

Binary file not shown.