Skip to content

Commit

Permalink
Adds "log" command, for crude today/yesterday journal notes.
Browse files Browse the repository at this point in the history
  • Loading branch information
damncabbage committed May 6, 2014
1 parent b35d5fe commit 074ca77
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .bash_aliases
Original file line number Diff line number Diff line change
Expand Up @@ -31,3 +31,6 @@ if [ $IS_LINUX ]; then
# Debian has an inconvenient name for its ack.
alias ack="ack-grep"
fi

# Today's journal log (with yesterday's log in a split pane)
alias log='mkdir -p ~/logs && vim -O ~/logs/`date +%F`.txt ~/logs/`date -v-1d +%F`.txt'

0 comments on commit 074ca77

Please sign in to comment.