Fix warnings emitted by Apple LLVM version 7.3.0 (clang-703.0.29)
[tig.git] / contrib / tig-completion.zsh
blob585df169b91a0d26527d0161acd4720e66644d51
1 #compdef tig
3 # zsh completion wrapper for tig
4 # ==============================
6 # You need to install this script to zsh fpath with tig-completion.bash.
8 # The recommended way to install this script is to copy this and tig-completion.bash
9 # to '~/.zsh/_tig' and '~/.zsh/tig-completion.bash' and
10 # then add following to your ~/.zshrc file:
12 # fpath=(~/.zsh $fpath)
15 _tig () {
16 local e
17 e=$(dirname ${funcsourcetrace[1]%:*})/tig-completion.bash
18 if [ -f $e ]; then
19 . $e