SIGN IN SIGN UP

Improve key specific bash subcompletions

The obscure `case "${words[$cword-2]}$prev=" in` idiom is no
longer used for key specific completions in options with map values.

The `__docker_map_key_of_current_option()` function does a much
better job.

Signed-off-by: Harald Albers <github@albersweb.de>
H
Harald Albers committed
7e31a96d220fe53e101c35332f5772ff42bcd092
Parent: 6f9bd6c