Cloned oh-my-zsh repositry

This commit is contained in:
2014-08-28 22:26:43 +02:00
parent 3ac0549596
commit 5f43be249f
405 changed files with 24828 additions and 1 deletions

View File

@@ -0,0 +1,17 @@
export AWS_HOME=~/.aws
function agp {
echo $AWS_DEFAULT_PROFILE
}
function asp {
export AWS_DEFAULT_PROFILE=$1
export RPROMPT="<aws:$AWS_DEFAULT_PROFILE>"
}
function aws_profiles {
reply=($(grep profile $AWS_HOME/config|sed -e 's/.*profile \([a-zA-Z0-9_-]*\).*/\1/'))
}
compctl -K aws_profiles asp
source `which aws_zsh_completer.sh`