summaryrefslogtreecommitdiff
path: root/_tt
blob: 1f22eca714f55619f066e5e5ac7d4d727b3b0b70 (plain)
1
2
3
4
5
6
7
8
9
10
11
#compdef tt

_tt() {
_arguments \
  '(-v --verbose)'{-v,--verbose}'[run tests verbosely]' \
  '(-V --valgrind)'{-V,--valgrind}'[run tests with valgrind]' \
  '(-m --monitor)'{-m,--monitor}'[run dbus-monitor on test bus]' \
  '1::test:_files -g "*.py" -W "$(pwd)/$(tt -p)"'
}

_tt "$@"