add todo.txt-cli as a plugin

Since it is referenced in the default .bash_profile and in aliases and
themes, why not make it an official plugin?

This creates a 'todo/' directory in /plugins/available, and installs
todo.sh and friends there.  Tab completion and the 't' alias should work
out of the box.

Note: it was also necessary to modify .gitignore to ignore the files
todo.sh generates in custom/.
This commit is contained in:
Erich Smith
2012-05-09 19:32:05 -04:00
parent 89263728f2
commit f5badb3c28
6 changed files with 1517 additions and 13 deletions

View File

@@ -137,18 +137,6 @@ usage ()
fi
}
t ()
{
about one thing todo
param if not set, display todo item
param 1: todo text
if [[ "$*" == "" ]] ; then
cat ~/.t
else
echo "$*" > ~/.t
fi
}
command_exists ()
{
about checks for existence of a command