support completions for command aliases (#669)

* support completions for command aliases

* try newer version of shellcheck

* initialize aliashash only when BASH_VERSION > 3
This commit is contained in:
Rajat Jindal
2018-04-23 05:47:20 -07:00
committed by Eric Paris
parent 615425954c
commit 7ee208b09f
2 changed files with 30 additions and 1 deletions

View File

@ -13,7 +13,7 @@ base: &base
name: "All Commands"
command: |
mkdir -p bin
curl -Lso bin/shellcheck https://github.com/caarlos0/shellcheck-docker/releases/download/v0.4.3/shellcheck
curl -Lso bin/shellcheck https://github.com/caarlos0/shellcheck-docker/releases/download/v0.4.6/shellcheck
chmod +x bin/shellcheck
go get -t -v ./...
PATH=$PATH:$PWD/bin go test -v ./...