The script provides bash completion for consul
Just copy the script to a decent place and source it in your ~/.bashrc
or ~/.profile
. <path-to>/consul
This script was copied and modified from https://github.com/mrolli/consul-bash-completion which has this to say:
The script technically is heavily inspired by the git-completion.bash script. Kudos to Shawn O. Pearce spearce@spearce.org and all other contributors for the inspiration and especially to the bash-completion team in general.
This software is licensed under the MIT license. The license is provided in the license file.
Copyright (c) 2014 Timothy Lord