task: Substitute taskopen for my own topen

https://github.com/marty-oehme/topen
This commit is contained in:
Marty Oehme 2025-03-08 19:32:50 +01:00
parent af5d5783a5
commit ecf26880ed
Signed by: Marty
GPG key ID: 4E535BC19C61886E
2 changed files with 5 additions and 3 deletions

View file

@ -12,7 +12,7 @@ t() {
}
# copy the `task` zsh completions over to my little alias 😉
# this is not very pretty and not super portable (needs ps) but
# FIXME: this is not very pretty and not super portable (needs ps) but
# works for now. from here: https://unix.stackexchange.com/a/72564/414758
if exist task && [ "$(ps -p $$ -o comm --no-headers)" = "zsh" ]; then compdef t=task; fi
@ -34,4 +34,4 @@ alias trw="task end.after:today-1wk completed"
alias tad="task +ACTIVE done"
alias tas="task +ACTIVE stop"
alias to="task open"
alias to="task note"