diff --git a/plugins/available/base.plugin.bash b/plugins/available/base.plugin.bash index ea02bb7b..4f09c515 100644 --- a/plugins/available/base.plugin.bash +++ b/plugins/available/base.plugin.bash @@ -153,7 +153,7 @@ function usage () if [ ! -e $BASH_IT/plugins/enabled/todo.plugin.bash ]; then # if user has installed todo plugin, skip this... - function t () + function __simpletodo () { about 'one thing todo' param 'if not set, display todo item' @@ -164,6 +164,9 @@ if [ ! -e $BASH_IT/plugins/enabled/todo.plugin.bash ]; then echo "$*" > ~/.t fi } + if ! alias | grep -q ' t='; then + alias t=__simpletodo + fi fi function command_exists ()