moby--moby/contrib/completion
Harald Albers 9d8f9943e9 Bash completion: avoid 'compopt: command not found' errors on Mac OS
The shell builtin `compopt` is not available on the outdated bash
version 3.2.57 that ships with Mac OS.
It is used in Docker's bash completion to suppress trailing spaces
in advanced completions of hash map options, e.g. `--log-opt`.

If `compopt` is not available, the new behavior is to do nothing,
i.e. the user will have to delete the additional space.

Signed-off-by: Harald Albers <github@albersweb.de>
2015-09-22 12:17:30 -07:00
..
bash Bash completion: avoid 'compopt: command not found' errors on Mac OS 2015-09-22 12:17:30 -07:00
fish docker restarts running OR stopped containers, docs edit rm "running" 2015-09-20 09:16:27 -04:00
zsh Add support for DNS options 2015-09-16 14:06:45 -07:00
REVIEWERS Remove subdirectories MAINTAINERS files 2015-03-06 18:21:51 -08:00