Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Newer
Older
100644 18 lines (12 sloc) 0.293 kB
36fc7bd @trq Added bash completion.
trq authored
1 #!/bin/bash
2 _phake()
3 {
4 COMPREPLY=()
5
6 local cur prev
f2428e5 @miezuit Fix completion if word-to-complete contains colon (:)
miezuit authored
7 _get_comp_words_by_ref -n : cur prev
36fc7bd @trq Added bash completion.
trq authored
8
9 local opts
10 opts=`phake -T | awk 'BEGIN {x=1}; $x>1 {print $1}'`
11
12 COMPREPLY=( $(compgen -W "${opts}" -- ${cur}))
13
f2428e5 @miezuit Fix completion if word-to-complete contains colon (:)
miezuit authored
14 __ltrim_colon_completions "$cur"
36fc7bd @trq Added bash completion.
trq authored
15 }
16
17 complete -F _phake phake
Something went wrong with that request. Please try again.