Skip to content

Instantly share code, notes, and snippets.

@zaach
Created June 3, 2011 03:54
Show Gist options
  • Save zaach/1005844 to your computer and use it in GitHub Desktop.
Save zaach/1005844 to your computer and use it in GitHub Desktop.
simple script for daily note taking
#!/usr/bin/env sh
# for daily note taking and todo enumerating
if [ ! -e ~/.daily-note ]
then mkdir ~/.daily-note
fi
cd ~/.daily-note
FILE=`date "+%Y-%m-%d"`
$EDITOR $FILE
cd -
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment