mirror of
https://github.com/ohmyzsh/ohmyzsh.git
synced 2024-11-12 00:40:07 +00:00
allow . in profile names
This commit is contained in:
parent
de1e3c0794
commit
e8aaab56b9
1 changed files with 1 additions and 2 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue