diff options
author | Will Thompson <will.thompson@collabora.co.uk> | 2011-09-26 17:59:53 +0100 |
---|---|---|
committer | Will Thompson <will.thompson@collabora.co.uk> | 2011-09-26 17:59:53 +0100 |
commit | d1dff6a1cc5c505b96391dc609e648699a3a2046 (patch) | |
tree | 0070514fe7ddbd235200db6701a090a534c23beb | |
parent | 5cbd36c23ea40b6b14f0ed8a25685147fdeb5a81 (diff) |
Add minimalist zsh completion thing
-rw-r--r-- | _tt | 11 |
1 files changed, 11 insertions, 0 deletions
@@ -0,0 +1,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 "$@" |