idid 0.1.2

Track, edit, and view what you did.
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
#!/bin/sh 

# Is idid an available command?
which idid > /dev/null

if [[ $? -eq 0 ]]; then
  # What was the last message for today
  idid last > /dev/null 2>&1

  if [[ $? -eq 0 ]]; then
    msg=$(git log --oneline --no-decorate --no-color | head -n 1)
    idid add --quiet "Commit: $msg"
  fi
fi