Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/albers/bash-completion-mac
Dockerfile for a Ubuntu based image with the same version of bash and bash-completion that come with current Macs.
https://github.com/albers/bash-completion-mac
bash-completion docker dockerfile macos
Last synced: 21 days ago
JSON representation
Dockerfile for a Ubuntu based image with the same version of bash and bash-completion that come with current Macs.
- Host: GitHub
- URL: https://github.com/albers/bash-completion-mac
- Owner: albers
- License: mit
- Created: 2015-08-17T16:56:05.000Z (over 9 years ago)
- Default Branch: master
- Last Pushed: 2015-10-11T12:40:11.000Z (about 9 years ago)
- Last Synced: 2024-11-01T05:06:21.731Z (2 months ago)
- Topics: bash-completion, docker, dockerfile, macos
- Homepage:
- Size: 148 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
Bash completion like on a MacBook
---------------------------------MacBooks ship with rather outdated versions of **bash** and **bash-completion**:
```shell
bash version:
GNU bash, version 3.2.57(1)-release (x86_64-apple-darwin14)bash-completion
Version: 1.3
```See http://meta.ath0.com/2012/02/05/apples-great-gpl-purge/ 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._