e8aaab56b9f007cd5a285099fa101a63214622ee

Author
Frank Wittig <frank.wittig@here.com>
Committer
1136237 <marc.cornella@a5s104mac55.fib.upc.es>
Date

Message

allow . in profile names

Diff

 1diff --git a/plugins/aws/aws.plugin.zsh b/plugins/aws/aws.plugin.zsh
 2index a326e2e01d326975630667c90084e3da24253418..183b0f226a425a63f56c072dab68196c6aa604ca 100644
 3--- a/plugins/aws/aws.plugin.zsh
 4+++ b/plugins/aws/aws.plugin.zsh
 5@@ -37,9 +37,8 @@ function asp {
 6 }
 7 
 8 function aws_profiles {
 9-  reply=($(grep profile $AWS_HOME/config|sed -e 's/.*profile \([a-zA-Z0-9_-]*\).*/\1/'))
10+  reply=($(grep profile $AWS_HOME/config|sed -e 's/.*profile \([a-zA-Z0-9_\.-]*\).*/\1/'))
11 }
12-
13 compctl -K aws_profiles asp
14 
15 if which aws_zsh_completer.sh &>/dev/null; then