tab completion for Hashicorp consul
parent
838aeabd02
commit
2cd06962d3
|
|
@ -0,0 +1,10 @@
|
||||||
|
# bash completion support for Hashicorp consul
|
||||||
|
|
||||||
|
CONSUL_BIN=$(command -v consul 2>/dev/null)
|
||||||
|
|
||||||
|
if [[ -x "$CONSUL_BIN" ]]
|
||||||
|
then
|
||||||
|
complete -C "$CONSUL_BIN" consul
|
||||||
|
fi
|
||||||
|
|
||||||
|
unset CONSUL_BIN
|
||||||
Loading…
Reference in New Issue