From: Alexander Barton Date: Sun, 24 May 2020 19:13:05 +0000 (+0200) Subject: New "travis" plugin X-Git-Url: https://arthur.barton.de/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=27bb4cda548e9b0d5625862ac3da6c615669f2e6;hp=4490bbc7b5d228a2853d45d3e52045e50ce82481;p=ax-zsh.git New "travis" plugin --- diff --git a/plugins/travis/README.md b/plugins/travis/README.md new file mode 100644 index 0000000..e6da0c1 --- /dev/null +++ b/plugins/travis/README.md @@ -0,0 +1,3 @@ +## travis + +Setup autocompletion for the *travis*(1), the CLI tool for Travis-CI. diff --git a/plugins/travis/travis.zshrc b/plugins/travis/travis.zshrc new file mode 100644 index 0000000..331ec9e --- /dev/null +++ b/plugins/travis/travis.zshrc @@ -0,0 +1,9 @@ +# AX-ZSH: Alex' Modular ZSH Configuration +# travis.zshrc: Setup autocompletion for travis(1). + +# Make sure that "travis(1)" is installed +(( $+commands[travis] )) || return + +# Does the user-local completion file exist? +[[ -r "$HOME/.travis/travis.sh" ]] && source "$HOME/.travis/travis.sh" +return 0