Add taskwarrior aliases
An alias to search (teas) and an alias to display the list of task (t).
This commit is contained in:
parent
079b8ba2d4
commit
64d24b34ab
13
zshrc
13
zshrc
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue