diff options
author | Aaron Walker <ka0ttic@gentoo.org> | 2004-09-11 15:31:51 +0000 |
---|---|---|
committer | Aaron Walker <ka0ttic@gentoo.org> | 2004-09-11 15:31:51 +0000 |
commit | 73b61381467f7c4bae4f5f9614bddc4af5085e68 (patch) | |
tree | 74e61b8228a44660e54e2e07a938c9a14c4bdd92 /app-misc/devtodo/files | |
parent | fix dependencies, #63498 (Manifest recommit) (diff) | |
download | gentoo-2-73b61381467f7c4bae4f5f9614bddc4af5085e68.tar.gz gentoo-2-73b61381467f7c4bae4f5f9614bddc4af5085e68.tar.bz2 gentoo-2-73b61381467f7c4bae4f5f9614bddc4af5085e68.zip |
Version bump; Upstream fixes for bugs 35449, 60206, and 60207. Also added bash-completion script (please test)
Diffstat (limited to 'app-misc/devtodo/files')
-rw-r--r-- | app-misc/devtodo/files/devtodo.bash-completion | 124 | ||||
-rw-r--r-- | app-misc/devtodo/files/digest-devtodo-0.1.18 | 1 |
2 files changed, 125 insertions, 0 deletions
diff --git a/app-misc/devtodo/files/devtodo.bash-completion b/app-misc/devtodo/files/devtodo.bash-completion new file mode 100644 index 000000000000..7170c2205fcc --- /dev/null +++ b/app-misc/devtodo/files/devtodo.bash-completion @@ -0,0 +1,124 @@ +# bash-completion script for devtodo +# place this in /etc/bash_completion.d + +_devtodo() { + local cur prev + COMPREPLY=() + cur="${COMP_WORDS[COMP_CWORD]}" + prev="${COMP_WORDS[COMP_CWORD-1]}" + + if [[ "${cur}" == -* ]] || [[ ${COMP_CWORD} -eq 1 ]]; then + COMPREPLY=($(compgen -W "-v --verbose -a --add -g --graft \ + -l --link -R --reparent -p --priority -e --edit --remove \ + -d --done -D --not-done --global-database -G --global --database \ + -T --TODO -A --all -f --filter --colour --force-colour --mono \ + --help --version --title --date-format --format --use-format \ + --sort --paranoid --database-loaders --backup -s --summary \ + --timeout" -- "${cur}")) + fi + + case "${prev}" in + -p|--priority) + COMPREPLY=($(compgen -W "default veryhigh high medium low \ + verylow" -- "${cur}")) + ;; + + --database-loaders) + COMPREPLY=($(compgen -W "xml binary" -- "${cur}")) + ;; + + -l|--link|--*database) + COMPREPLY=($(compgen -o filenames -A file -- "${cur}")) + ;; + esac +} +complete -F _devtodo devtodo +complete -F _devtodo todo + +_tda() { + local cur prev + COMPREPLY=() + cur="${COMP_WORDS[COMP_CWORD]}" + prev="${COMP_WORDS[COMP_CWORD-1]}" + + if [[ "${cur}" == -* ]] || [[ ${COMP_CWORD} -eq 1 ]]; then + COMPREPLY=($(compgen -W "-v --verbose -g --graft -p --priority \ + -G --global --global-database --database --mono --help --version" \ + -- "${cur}")) + fi + + case "${prev}" in + -p|--priority) + COMPREPLY=($(compgen -W "default veryhigh high medium low \ + verylow" -- "${cur}")) + ;; + + --*database) + COMPREPLY=($(compgen -o filenames -A file -- "${cur}")) + ;; + esac +} +complete -F _tda tda + +_tde() { + local cur prev + COMPREPLY=() + cur="${COMP_WORDS[COMP_CWORD]}" + prev="${COMP_WORDS[COMP_CWORD-1]}" + + if [[ "${cur}" == -* ]] || [[ ${COMP_CWORD} -eq 1 ]]; then + COMPREPLY=($(compgen -W "-v --verbose -p --priority -G --global \ + --global-database --database --mono --help --version --title -c \ + --comment"-- "${cur}")) + fi + + case "${prev}" in + -p|--priority) + COMPREPLY=($(compgen -W "default veryhigh high medium low \ + verylow" -- "${cur}")) + ;; + + --*database) + COMPREPLY=($(compgen -o filenames -A file -- "${cur}")) + ;; + esac +} +complete -F _tde tde + +_tdr() { + local cur prev + COMPREPLY=() + cur="${COMP_WORDS[COMP_CWORD]}" + prev="${COMP_WORDS[COMP_CWORD-1]}" + + if [[ "${cur}" == -* ]] || [[ ${COMP_CWORD} -eq 1 ]]; then + COMPREPLY=($(compgen -W "-v --verbose --global-database -G --global \ + --database --mono --help --version" -- "${cur}")) + fi + + case "${prev}" in + --*database) + COMPREPLY=($(compgen -o filenames -A file -- "${cur}")) + ;; + esac +} +complete -F _tdr tdr + +_tdd() { + local cur prev + COMPREPLY=() + cur="${COMP_WORDS[COMP_CWORD]}" + prev="${COMP_WORDS[COMP_CWORD-1]}" + + if [[ "${cur}" == -* ]] || [[ ${COMP_CWORD} -eq 1 ]]; then + COMPREPLY=($(compgen -W "-v --verbose --global-database -G --global \ + --database --mono --help --version" -- "${cur}")) + fi + + case "${prev}" in + --*database) + COMPREPLY=($(compgen -o filenames -A file -- "${cur}")) + ;; + esac +} +complete -F _tdd tdd diff --git a/app-misc/devtodo/files/digest-devtodo-0.1.18 b/app-misc/devtodo/files/digest-devtodo-0.1.18 new file mode 100644 index 000000000000..1e3f25c5d61f --- /dev/null +++ b/app-misc/devtodo/files/digest-devtodo-0.1.18 @@ -0,0 +1 @@ +MD5 6ca0a414685cb7a7f32f7ae22cb3a2a9 devtodo-0.1.18.tar.gz 432858 |