insensitive function to search in taskwarrior
This commit is contained in:
parent
3dc0ad8268
commit
93ac8de3ac
11
zshrc
11
zshrc
|
@ -295,12 +295,19 @@ alias wtask="task +work | head"
|
|||
alias t="task"
|
||||
alias tawa="task waiting"
|
||||
|
||||
## search a task by it's name
|
||||
## search a task by it's name (case INsensitive)
|
||||
function tase() {
|
||||
search="";
|
||||
for i; do; search="$search /$i/"; done;
|
||||
task rc.search.case.sensitive:no $search all;
|
||||
}
|
||||
|
||||
## search a task by it's name (case SENSITIVE)
|
||||
function tasec() {
|
||||
search="";
|
||||
for i; do; search="$search /$i/"; done;
|
||||
task $search all;
|
||||
}
|
||||
}
|
||||
|
||||
# }}}
|
||||
|
||||
|
|
Loading…
Reference in New Issue