allow . in profile names

This commit is contained in:
Frank Wittig 2014-04-09 18:11:06 +02:00 committed by 1136237
parent de1e3c0794
commit e8aaab56b9
1 changed files with 1 additions and 2 deletions

View File

@ -37,9 +37,8 @@ function asp {
}
function aws_profiles {
reply=($(grep profile $AWS_HOME/config|sed -e 's/.*profile \([a-zA-Z0-9_-]*\).*/\1/'))
reply=($(grep profile $AWS_HOME/config|sed -e 's/.*profile \([a-zA-Z0-9_\.-]*\).*/\1/'))
}
compctl -K aws_profiles asp
if which aws_zsh_completer.sh &>/dev/null; then