Public | Automated Build

Last pushed: 3 years ago
Short Description
Ubuntu based image with the same version of bash and bash-completion that come with current Macs
Full Description

Bash completion like on a MacBook

MacBooks ship with rather outdated versions of bash and bash-completion:

bash version:
GNU bash, version 3.2.57(1)-release (x86_64-apple-darwin14)

Version: 1.3

See for more information.

Use this Docker image if you want to test your bash completion scripts against these ancient versions but do not have a Mac available.

How to use

Start a container with your completion script mounted into /etc/bash_completion.d/, e.g.

docker run -i -t -v /path/to/completion-script:/etc/bash_completion.d/completion-script albers/bash-completion-mac

Note: You can develop command completion for a program that you do not have installed. Just type its name. Completion doesn't care if it actually exists.

Docker Pull Command
Source Repository