Code Review
/
common
/
bash_it.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
review
|
tree
raw
|
patch
| inline |
side by side
(parent:
b7fcfd7
)
Added t alias for one thing todo. Inspired by http://onethingwell.org/post/758016936...
author
Mark Szymanski
<mrman208@me.com>
Fri, 5 Nov 2010 20:02:12 +0000
(15:02 -0500)
committer
Mark Szymanski
<mrman208@me.com>
Fri, 5 Nov 2010 20:02:12 +0000
(15:02 -0500)
plugins/base.plugin.bash
patch
|
blob
|
history
diff --git
a/plugins/base.plugin.bash
b/plugins/base.plugin.bash
index
f9e1370
..
c30d731
100644
(file)
--- 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
+ }
+