Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Newer
Older
100644 26 lines (21 sloc) 0.646 kb
2e51c2b @amir Add bash completion script
amir authored
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
fd562dd @theappleman Support for replying to notices
theappleman authored
8 COMPREPLY=( $(compgen -W "-a -A -p -P -H -b -d -v -s -n -g -h -r
c91c4ef @amir action and values for bash completion
amir authored
9 --account --action --password --proxy --host --bash \
5145187 @amir verbose option for bash completion script
amir authored
10 --user --debug --dry-run --shrink-urls --page --version --verbose \
cbe4501 @gregoa Document the new --retweet feature in bti.xml and add it to bash complet...
gregoa authored
11 --help --replyto --retweet" -- ${cur}) )
2e51c2b @amir Add bash completion script
amir authored
12 fi
13
14 if [[ "${prev}" == "--host" ]] ; then
15 COMPREPLY=( $(compgen -W "twitter identica" -- ${cur} ) )
16 fi
17
c91c4ef @amir action and values for bash completion
amir authored
18 if [[ "${prev}" == "--action" ]] ; then
5252227 @amir Updating bashcompletion and example config file for new actions
amir authored
19 COMPREPLY=( $(compgen -W "friends public update user replies" -- ${cur} ) )
c91c4ef @amir action and values for bash completion
amir authored
20 fi
21
2e51c2b @amir Add bash completion script
amir authored
22 return 0
23 }
24
25 complete -F _bti bti
Something went wrong with that request. Please try again.