mndrix / clk

a distributed time clock application for the command line
The Unlicense
2 stars 0 forks source link

shortcut for manually modifying the most recent entry #10

Closed mndrix closed 10 years ago

mndrix commented 14 years ago

I often run the equivalent of vi +99999 $( ls ~/.clk/timeline/*.txt | sort | tail -n1 ) so that I can edit the most recent entry. This typically happens when I make a typo in the most recent clk in command.

This shortcut should probably be given a somewhat long name to discourage it's use. Manually editing the timeline is a blunt instrument. Maybe clk edit-recent?