From 64d24b34abbab000dfd8b7230052c6e73738c650 Mon Sep 17 00:00:00 2001 From: Gardouille Date: Fri, 16 Feb 2018 10:37:28 +0100 Subject: [PATCH] Add taskwarrior aliases An alias to search (teas) and an alias to display the list of task (t). --- zshrc | 13 ++++++++++++- 1 file changed, 12 insertions(+), 1 deletion(-) diff --git a/zshrc b/zshrc index e10fecf..c0b9b72 100644 --- a/zshrc +++ b/zshrc @@ -288,8 +288,19 @@ alias gpg="[[ ! -f ~/.keychain/$HOST-sh-gpg ]] && keychain --noask --systemd --a alias sctl="systemctl" alias jctl="journalctl" -# Taskwarrior +# Taskwarrior {{{ +# 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