Skip to content

Instantly share code, notes, and snippets.

@mtibben
Last active February 1, 2017 04:40
Show Gist options
  • Save mtibben/30db08469295fc877bbc3060128ede3f to your computer and use it in GitHub Desktop.
Save mtibben/30db08469295fc877bbc3060128ede3f to your computer and use it in GitHub Desktop.
My super lightweight todo (based on a GTD-ish workflow)
# add to your ~/.bash_profile
export TODO_EDITOR=subl
export TODO_FILE=~/Dropbox/todo.md
alias init_todo="printf '## Next actions:\n\n## Scheduled:\n\n## Waiting on:\n\n## Projects:\n\n## Tickler:\n\n## Archive:\n\n' >> $TODO_FILE"
alias todo='$TODO_EDITOR $TODO_FILE'
alias next='sed -e '"'"'/^$/,$d'"'"' $TODO_FILE'
next
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment