diff --git a/plugins/available/base.plugin.bash b/plugins/available/base.plugin.bash index a80c2166..137b8120 100755 --- a/plugins/available/base.plugin.bash +++ b/plugins/available/base.plugin.bash @@ -137,6 +137,21 @@ usage () fi } +if [ ! -e $BASH_IT/plugins/enabled/todo.plugin.bash ]; then +# if user has installed todo plugin, skip this... + t () + { + about 'one thing todo' + param 'if not set, display todo item' + param '1: todo text' + if [[ "$*" == "" ]] ; then + cat ~/.t + else + echo "$*" > ~/.t + fi + } +fi + command_exists () { about checks for existence of a command