1
0
Fork 0
mirror of https://github.com/ohmyzsh/ohmyzsh.git synced 2024-11-22 13:50:09 +00:00

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

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