X-Git-Url: https://git.toastfreeware.priv.at/gregoa/bti.git/blobdiff_plain/2e51c2b0248ea74d640905fbf81bcde44e1ce26b..cbe4501f761baa65b22b76887d6efe2957211923:/bti-bashcompletion diff --git a/bti-bashcompletion b/bti-bashcompletion index fa155bc..e627ae2 100644 --- a/bti-bashcompletion +++ b/bti-bashcompletion @@ -5,15 +5,20 @@ _bti() cur="${COMP_WORDS[COMP_CWORD]}" prev="${COMP_WORDS[COMP_CWORD-1]}" if [[ "${cur}" == -* ]] ; then - COMPREPLY=( $(compgen -W "-a -p -P -H -b -d -v -h --account \ - --password --proxy --host --bash --debug --version \ - --help" -- ${cur}) ) + COMPREPLY=( $(compgen -W "-a -A -p -P -H -b -d -v -s -n -g -h -r + --account --action --password --proxy --host --bash \ + --user --debug --dry-run --shrink-urls --page --version --verbose \ + --help --replyto --retweet" -- ${cur}) ) fi if [[ "${prev}" == "--host" ]] ; then COMPREPLY=( $(compgen -W "twitter identica" -- ${cur} ) ) fi + if [[ "${prev}" == "--action" ]] ; then + COMPREPLY=( $(compgen -W "friends public update user replies" -- ${cur} ) ) + fi + return 0 }