634ce4ea1da0f3ee209cf2ff0d7611c9d32aaac6
- Author
- Robby Russell <robby@planetargon.com>
- Committer
- Robby Russell <robby@planetargon.com>
- Date
Message
Diff
This diff is truncated to protect this page.
1diff --git a/plugins/taskwarrior/_task b/plugins/taskwarrior/_task
2index 5bffa9119e439c633ef8fd156b7233fd4ed9b61e..0bda738bb85ee766af63a4db4de6e64c946265a9 100644
3--- a/plugins/taskwarrior/_task
4+++ b/plugins/taskwarrior/_task
5@@ -1,37 +1,37 @@
6 #compdef task
7-#
8 # zsh completion for taskwarrior
9 #
10+# taskwarrior - a command line task list manager.
11+#
12 # Copyright 2010 - 2011 Johannes Schlatow
13 # Copyright 2009 P.C. Shyamshankar
14-# All rights reserved.
15-#
16-# This script is part of the taskwarrior project.
17 #
18-# This program is free software; you can redistribute it and/or modify it under
19-# the terms of the GNU General Public License as published by the Free Software
20-# Foundation; either version 2 of the License, or (at your option) any later
21-# version.
22+# Permission is hereby granted, free of charge, to any person obtaining a copy
23+# of this software and associated documentation files (the "Software"), to deal
24+# in the Software without restriction, including without limitation the rights
25+# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
26+# copies of the Software, and to permit persons to whom the Software is
27+# furnished to do so, subject to the following conditions:
28 #
29-# This program is distributed in the hope that it will be useful, but WITHOUT
30-# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
31-# FOR A PARTICULAR PURPOSE. See the GNU General Public License for more
32-# details.
33+# The above copyright notice and this permission notice shall be included
34+# in all copies or substantial portions of the Software.
35 #
36-# You should have received a copy of the GNU General Public License along with
37-# this program; if not, write to the
38+# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS
39+# OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
40+# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL
41+# THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
42+# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
43+# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
44+# SOFTWARE.
45 #
46-# Free Software Foundation, Inc.,
47-# 51 Franklin Street, Fifth Floor,
48-# Boston, MA
49-# 02110-1301
50-# USA
51+# http://www.opensource.org/licenses/mit-license.php
52 #
53 typeset -g _task_cmds _task_projects _task_tags _task_config _task_modifiers
54 _task_projects=($(task _projects))
55 _task_tags=($(task _tags))
56 _task_ids=($(task _ids))
57 _task_config=($(task _config))
58+_task_columns=($(task _columns))
59 _task_modifiers=(
60 'before' \
61 'after' \
62@@ -46,39 +46,19 @@ _task_modifiers=(
63 'word' \
64 'noword'
65 )
66+_task_conjunctions=(
67+ 'and' \
68+ 'or' \
69+ 'xor' \
70+ '\)'
71+ '\('
72+)
73 _task_cmds=($(task _commands))
74 _task_zshcmds=( ${(f)"$(task _zshcommands)"} )
75
76-
77-_task_idCmds=(
78- 'append' \
79- 'prepend' \
80- 'annotate' \
81- 'denotate' \
82- 'edit' \
83- 'duplicate' \
84- 'info' \
85- 'start' \
86- 'stop' \
87- 'done'
88-)
89-
90-_task_idCmdsDesc=(
91- 'append:Appends more description to an existing task.' \
92- 'prepend:Prepends more description to an existing task.' \
93- 'annotate:Adds an annotation to an existing task.' \
94- 'denotate:Deletes an annotation of an existing task.' \
95- 'edit:Launches an editor to let you modify a task directly.' \
96- 'duplicate:Duplicates the specified task, and allows modifications.' \
97- 'info:Shows all data, metadata for specified task.' \
98- 'start:Marks specified task as started.' \
99- 'stop:Removes the start time from a task.' \
100- 'done:Marks the specified task as completed.'
101-)
102-
103 _task() {
104 _arguments -s -S \