mirror of https://github.com/akelge/zsh
Improve awslogin a bit more
This commit is contained in:
parent
6771d8b38c
commit
9e4de7b42c
|
@ -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.
Loading…
Reference in New Issue