Browse Source

allow . in profile names

Frank Wittig 11 years ago
parent
commit
e8aaab56b9
1 changed files with 1 additions and 2 deletions
  1. 1 2
      plugins/aws/aws.plugin.zsh

+ 1 - 2
plugins/aws/aws.plugin.zsh

@@ -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