Skip to content

Instantly share code, notes, and snippets.

@mktcode
mktcode / .bashrc
Last active October 9, 2025 07:48
A very simple time tracking tool for the command line.
# Time Tracking Tool
####################
# Simply writes dates/times/comments in a file.
# Each week has it's own file (e.g. ~/.ttt/2019-01.txt).
#
# ttt <comment>: add entry to current week's file
# tttt: output current week's file content with cat
# ttte: edit current week's file with vim
# tttp: pause
# ttts: sum times