mirror of https://github.com/docker/compose.git
Merge branch 'master' of github.com:docker/compose
This commit is contained in:
commit
cc3f3c182d
|
@ -16,6 +16,8 @@
|
||||||
# below to your .bashrc after bash completion features are loaded
|
# below to your .bashrc after bash completion features are loaded
|
||||||
# . ~/.docker-compose-completion.sh
|
# . ~/.docker-compose-completion.sh
|
||||||
|
|
||||||
|
__docker_compose_previous_extglob_setting=$(shopt -p extglob)
|
||||||
|
shopt -s extglob
|
||||||
|
|
||||||
__docker_compose_q() {
|
__docker_compose_q() {
|
||||||
docker-compose 2>/dev/null "${top_level_options[@]}" "$@"
|
docker-compose 2>/dev/null "${top_level_options[@]}" "$@"
|
||||||
|
@ -658,4 +660,7 @@ _docker_compose() {
|
||||||
return 0
|
return 0
|
||||||
}
|
}
|
||||||
|
|
||||||
|
eval "$__docker_compose_previous_extglob_setting"
|
||||||
|
unset __docker_compose_previous_extglob_setting
|
||||||
|
|
||||||
complete -F _docker_compose docker-compose docker-compose.exe
|
complete -F _docker_compose docker-compose docker-compose.exe
|
||||||
|
|
Loading…
Reference in New Issue