mirror of
https://github.com/akelge/zsh
synced 2025-07-03 21:19:06 +00:00
Improve awslogin a bit more
This commit is contained in:
@ -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.
Reference in New Issue
Block a user