From 4b26a7874506859a5a474e93fb9f5394484f60c9 Mon Sep 17 00:00:00 2001 From: Mark Szymanski Date: Fri, 5 Nov 2010 15:02:12 -0500 Subject: [PATCH] Added t alias for one thing todo. Inspired by http://onethingwell.org/post/758016936/one-thing-todo --- plugins/base.plugin.bash | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/plugins/base.plugin.bash b/plugins/base.plugin.bash index f9e1370..c30d731 100644 --- a/plugins/base.plugin.bash +++ b/plugins/base.plugin.bash @@ -55,3 +55,14 @@ usage () fi fi } + +# One thing todo + + t() { + if [[ "$*" == "" ]] ; then + cat ~/.t + else + echo "$*" > ~/.t + fi + } + -- 2.17.1