Add taskwarrior aliases

An alias to search (teas) and an alias to display the list of task (t).
This commit is contained in:
Jeremy Gardais 2018-02-16 10:37:28 +01:00
parent 079b8ba2d4
commit 64d24b34ab
1 changed files with 12 additions and 1 deletions

13
zshrc
View File

@ -288,8 +288,19 @@ alias gpg="[[ ! -f ~/.keychain/$HOST-sh-gpg ]] && keychain --noask --systemd --a
alias sctl="systemctl" alias sctl="systemctl"
alias jctl="journalctl" alias jctl="journalctl"
# Taskwarrior # Taskwarrior {{{
#
alias wtask="task +work | head" alias wtask="task +work | head"
alias t="task"
## search a task by it's name
function tsea() {
sea="";
for i; do; sea="$sea /$i/"; done;
task $sea all;
}
# }}}
####################################### #######################################
#Ouverture d'un programme en fonction #Ouverture d'un programme en fonction