Switching AWS profiles

This commit is contained in:
Andrew Tomaka 2016-06-08 10:32:44 -04:00
parent fc4d55b1e8
commit 480e860104
2 changed files with 9 additions and 0 deletions

View file

@ -1,3 +1,11 @@
function aws-profile {
if [ $# -eq 0 ]; then
echo Current AWS Profile: $AWS_DEFAULT_PROFILE
else
export AWS_DEFAULT_PROFILE=$1
fi
}
function g {
if [[ $# > 0 ]]; then
git $@