This is a small plugin for timewarrior, a timetracking application.
It contains a few aliases and attempts to integrate the bash completion found here by using bashcompinit (see here for some explanation)
- ZSH 4.3 or newer
Using Oh-my-zsh:
-
Clone this repository in oh-my-zsh's plugins directory:
git clone https://github.com/svenXY/timewarrior ${ZSH_CUSTOM:-~/.oh-my-zsh/custom}/plugins/timewarrior
-
Activate the plugin in
~/.zshrc
:plugins=( [plugins...] timewarrior)
-
Source
~/.zshrc
to take changes into account:source ~/.zshrc
The aliases all start with tw, for the command completion, just type
tw <TAB>
none currently.
- April 2018: Sven Hergenhahn put this together
- November 2019: akadaedalus updated for new arguments, preferred semantics for starting time