summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFrank Wittig <frank.wittig@here.com>2014-04-09 18:11:06 +0200
committer1136237 <marc.cornella@a5s104mac55.fib.upc.es>2018-05-16 18:01:09 +0200
commite8aaab56b9f007cd5a285099fa101a63214622ee (patch)
tree82b6005299820238cfbf5cfa7d539815eb195ba3
parentde1e3c0794ab4214412fe4f15d1e39ddffcbea42 (diff)
downloadzsh-e8aaab56b9f007cd5a285099fa101a63214622ee.tar.gz
zsh-e8aaab56b9f007cd5a285099fa101a63214622ee.tar.bz2
zsh-e8aaab56b9f007cd5a285099fa101a63214622ee.zip
allow . in profile names
-rw-r--r--plugins/aws/aws.plugin.zsh3
1 files changed, 1 insertions, 2 deletions
diff --git a/plugins/aws/aws.plugin.zsh b/plugins/aws/aws.plugin.zsh
index a326e2e01..183b0f226 100644
--- a/plugins/aws/aws.plugin.zsh
+++ b/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