/[debian]/bti/tags/012-1/bti-bashcompletion
ViewVC logotype

Contents of /bti/tags/012-1/bti-bashcompletion

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1536 - (show annotations)
Sat Jan 24 23:56:41 2009 UTC (11 years, 11 months ago) by gregoa
File size: 427 byte(s)
tagging version 012-1
1 _bti()
2 {
3 local cur prev
4 COMPREPLY=()
5 cur="${COMP_WORDS[COMP_CWORD]}"
6 prev="${COMP_WORDS[COMP_CWORD-1]}"
7 if [[ "${cur}" == -* ]] ; then
8 COMPREPLY=( $(compgen -W "-a -p -P -H -b -d -v -h --account \
9 --password --proxy --host --bash --debug --version \
10 --help" -- ${cur}) )
11 fi
12
13 if [[ "${prev}" == "--host" ]] ; then
14 COMPREPLY=( $(compgen -W "twitter identica" -- ${cur} ) )
15 fi
16
17 return 0
18 }
19
20 complete -F _bti bti

  ViewVC Help
Powered by ViewVC 1.1.26