Add travis completion

https://github.com/travis-ci/travis.rb
pull/1078/head
Eduardo Bellido Bellido 2017-10-30 19:43:00 +01:00
parent 8da29cddf6
commit 4a6db6ff83
1 changed files with 5 additions and 0 deletions

View File

@ -0,0 +1,5 @@
if [[ -x "$(which travis)" ]]; then
__TRAVIS_COMPLETION_SCRIPT="${TRAVIS_CONFIG_PATH:-${HOME}/.travis}/travis.sh"
[[ -f "${__TRAVIS_COMPLETION_SCRIPT}" ]] && source "${__TRAVIS_COMPLETION_SCRIPT}"
unset __TRAVIS_COMPLETION_SCRIPT
fi