Skip to content

Instantly share code, notes, and snippets.

@mattijs
Created February 6, 2012 11:21
Show Gist options
  • Save mattijs/1751591 to your computer and use it in GitHub Desktop.
Save mattijs/1751591 to your computer and use it in GitHub Desktop.
todo command for zsh using t.py
# t.py wrapper ---------------------------------------------------------------
todo() {
if [ -f "$(pwd)/todo" ]; then
python ~/bin/t.py --task-dir . --list todo $@
else
echo "No todo file found in this directory. Run 'touch todo' to create a new todo list."
fi
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment