Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
O
oh-my-zsh
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
JIRA
JIRA
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
github
oh-my-zsh
Commits
b1561c66
Commit
b1561c66
authored
9 years ago
by
Marc Cornellà
Committed by
GitHub
9 years ago
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Update taskwarrior completion to 2.5.1 (#5171)
parent
551abfcb
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
4 deletions
+5
-4
_task
plugins/taskwarrior/_task
+5
-4
No files found.
plugins/taskwarrior/_task
View file @
b1561c66
#compdef task
#compdef task
#
#
# Copyright 2010 - 201
5
Johannes Schlatow
# Copyright 2010 - 201
6
Johannes Schlatow
# Copyright 2009 P.C. Shyamshankar
# Copyright 2009 P.C. Shyamshankar
#
#
# Permission is hereby granted, free of charge, to any person obtaining a copy
# Permission is hereby granted, free of charge, to any person obtaining a copy
...
@@ -26,7 +26,6 @@
...
@@ -26,7 +26,6 @@
typeset -g _task_cmds _task_projects _task_tags _task_config _task_modifiers
typeset -g _task_cmds _task_projects _task_tags _task_config _task_modifiers
_task_projects=($(task _projects))
_task_projects=($(task _projects))
_task_tags=($(task _tags))
_task_tags=($(task _tags))
_task_ids=($(task _ids))
_task_zshids=( ${(f)"$(task _zshids)"} )
_task_zshids=( ${(f)"$(task _zshids)"} )
_task_config=($(task _config))
_task_config=($(task _config))
_task_columns=($(task _columns))
_task_columns=($(task _columns))
...
@@ -139,8 +138,10 @@ task_dates=(
...
@@ -139,8 +138,10 @@ task_dates=(
)
)
local -a task_zshids
local -a task_zshids
_regex_words values 'task IDs' $_task_zshids
if (( $#_task_zshids )); then
task_zshids=("$reply[@]")
_regex_words values 'task IDs' $_task_zshids
task_zshids=("$reply[@]")
fi
_regex_words values 'task frequencies' \
_regex_words values 'task frequencies' \
'daily:Every day' \
'daily:Every day' \
...
...
This diff is collapsed.
Click to expand it.
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment