timelog

GTimeLog compatible command line tools
git clone https://git.ce9e.org/timelog.git

commit
2853078c42575f80bfaff4cf407e935656c5e39f
parent
dafd98a3e33c265c45940ca60b1a1b524956b1eb
Author
Tobias Bengfort <tobias.bengfort@posteo.de>
Date
2022-03-07 15:58
add timelog branch

Diffstat

M timelog 3 +++

1 files changed, 3 insertions, 0 deletions


diff --git a/timelog b/timelog

@@ -9,6 +9,9 @@ t=`date '+%F %H:%M'`
    9     9 if [ x"$1" = x"arrive" ]; then
   10    10 	echo >> $log
   11    11 	echo "$t: arrive **" >> $log
   -1    12 elif [ x"$1" = x"branch" ]; then
   -1    13 	rev=$(git status | head -n 1 | awk '{print $NF}')
   -1    14 	echo "$t: $rev" >> $log
   12    15 elif [ x"$1" = x"edit" ]; then
   13    16 	$EDITOR $log
   14    17 else