mirror of
https://github.com/GothenburgBitFactory/taskwarrior.git
synced 2025-06-26 10:54:26 +02:00
Enhancement - task_completion.sh
- Applied Fredde's patch.
This commit is contained in:
parent
8bf0f1176b
commit
5489cc5a0c
1 changed files with 9 additions and 0 deletions
|
@ -56,6 +56,10 @@ _task_get_tags() {
|
||||||
task _tags
|
task _tags
|
||||||
}
|
}
|
||||||
|
|
||||||
|
_task_get_config() {
|
||||||
|
task _config
|
||||||
|
}
|
||||||
|
|
||||||
_task()
|
_task()
|
||||||
{
|
{
|
||||||
local cur prev opts base
|
local cur prev opts base
|
||||||
|
@ -83,6 +87,11 @@ _task()
|
||||||
COMPREPLY=( $(compgen -W "${tags}" -- ${cur}) )
|
COMPREPLY=( $(compgen -W "${tags}" -- ${cur}) )
|
||||||
return 0
|
return 0
|
||||||
;;
|
;;
|
||||||
|
rc.*)
|
||||||
|
local config=$(_task_get_config | sed 's/^/rc\./')
|
||||||
|
COMPREPLY=( $(compgen -W "${config}" -- ${cur}) )
|
||||||
|
return 0
|
||||||
|
;;
|
||||||
esac
|
esac
|
||||||
|
|
||||||
COMPREPLY=( $(compgen -W "${opts}" -- ${cur}) )
|
COMPREPLY=( $(compgen -W "${opts}" -- ${cur}) )
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue