/[debian]/bti/trunk/bti-bashcompletion
ViewVC logotype

Contents of /bti/trunk/bti-bashcompletion

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1532 - (show annotations)
Sat Jan 24 16:36:56 2009 UTC (12 years ago) by gregoa
File size: 427 byte(s)
New upstream release.
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