sr (owner)

Fork Of

gist: 9305 by ichvers... Best To-Do List. Ever.

Revisions

gist: 159503 Download_button fork
public
Public Clone URL: git://gist.github.com/159503.git
Embed All Files: show embed
todo #
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
#!/bin/sh
# Best To-Do List. Ever.
#
# Usage:
# 1. Add a new item to list: `todo This needs to be fixed`
# 2. Edit the to-do list: `todo -e`
# 3. Show the current to-do's: `todo`
 
if [[ $1 ]]; then
if [ $1 = "-e" ]; then
    $EDITOR TODO
  else
echo "- $*" >> TODO
  fi
else
  $PAGER TODO
fi