Permalink
Browse files

ash

  • Loading branch information...
1 parent 65380a6 commit 049ee5521ddf74d382e123592a8e6fd17e1e7ddd Nate Wiger committed Jan 6, 2012
Showing with 9 additions and 2 deletions.
  1. +3 −2 .bash_profile
  2. +6 −0 .bashrc
View
@@ -25,8 +25,9 @@ c_bold_yellow="${c1}1;33${c2}"
c_bold_white="${c1}1;37${c2}"
# Prompt
-export PS1='[\u@\h:\W]\$ '
-export PS1="[$c_green\u$c_normal@$c_purple\h$c_normal:$c_blue\W$c_normal]\$ "
+#export PS1='[\u@\h:\W]\$ '
+#export PS1="[$c_green\u$c_normal@$c_purple\h$c_normal:$c_blue\W$c_normal]\$ "
+export PS1="[\W]\$ "
printf $c_red
type ruby
View
@@ -80,6 +80,8 @@ add_path /usr/local/mongodb/bin
# Amazon EC2 CLI tools
export EC2_HOME=/usr/local/ec2-api-tools
add_path "$EC2_HOME/bin" || unset EC2_HOME
+export RDS_HOME=/usr/local/rds-cli
+add_path "$RDS_HOME/bin" || unset RDS_HOME
# Amazon EC2 gems
if [ -d "$HOME/.ec2" ]; then
@@ -96,6 +98,10 @@ if [ -d "$HOME/.ec2" ]; then
export AMAZON_SECRET_ACCESS_KEY=`cat $HOME/.ec2/secret_access_key.txt`
fi
+# Sandbox
+alias ash="ssh -i $HOME/.ec2/sandbox-keypair.pem -o StrictHostKeyChecking=no -l ubuntu"
+alias async="rsync -a -e '$HOME/.ec2/sandbox-keypair.pem -o StrictHostKeyChecking=no -l ubuntu'"
+
if add_path /Library/PostgreSQL/9.0/bin; then
. /Library/PostgreSQL/9.0/pg_env.sh
fi

0 comments on commit 049ee55

Please sign in to comment.