Skip to content
Browse files

Removed and put in AWS account switching

  • Loading branch information...
1 parent b3e1893 commit 60664a7ac93ecd99ed67fe305cffebb0c535e2b8 @jyurek committed Aug 8, 2010
Showing with 11 additions and 2 deletions.
  1. +11 −2 bashrc
View
13 bashrc
@@ -45,13 +45,22 @@ alias ...='cd ../..'
alias ....='cd ../../..'
alias .....='cd ../../../..'
-export JAVA_HOME="/System/Library/Frameworks/JavaVM.framework/Home/"
-
alias rerc='source ~/.bash_profile'
alias l=ls
alias ll='ls -la'
alias s=true
+export AWS_ACCOUNT=jyurek
+function load_aws {
+ if [ -f $HOME/.aws/$1 ]; then
+ source $HOME/.aws/$1
+ export AWS_ACCOUNT=$1
+ else
+ echo "No AWS Credentials for $1"
+ fi
+}
+load_aws $AWS_ACCOUNT
+
if [ -f `$BREW --prefix`/etc/bash_completion ]; then
. `$BREW --prefix`/etc/bash_completion
fi

0 comments on commit 60664a7

Please sign in to comment.
Something went wrong with that request. Please try again.