timewarrior icon indicating copy to clipboard operation
timewarrior copied to clipboard

Define aliases for timewarrior commands

Open lauft opened this issue 6 years ago • 2 comments

Add the ability to define aliases for existing timewarrior commands in the configuration

lauft avatar May 11 '18 17:05 lauft

It would be nice to not only introduce existing commands but simplify calls. I find it sometimes annoying to type $ timew summary :month :ids

It'd be cool to allow introducing aliases which contain the hints, too, like: $ timew mids

Did you consider a configuration to insert :ids by default?

croesch avatar Aug 02 '19 20:08 croesch

I solved this problem by just creating aliases in my shell. Here's the ones I added to my .bashrc file:

alias t='timew' alias ts='timew summary :id' alias td='timew day :id' alias tw='timew week :id' alias tm='timew month :id'

Works like a charm!

unrelentingfox avatar Aug 02 '19 21:08 unrelentingfox