Commit Graph

7 Commits (c87dbb2d4108c8faece487cce6f267c7fbfa41bc)

Author SHA1 Message Date
John D Pell d6bcedfa96 plugin/base: rewrite `t()` function to use `todo.sh`
Move the test for whether `plugin/todo` is enabled inside the function, and remove the alias from there.

Alsö, respect `$XDG_STATE_HOME` and move the old `~/.t` file if it exists.
2022-01-01 17:50:55 -08:00
John D Pell 02b57a83ef plugins/todo: lint
plugin/base: use `_bash-it-component-item-is-enabled()`
2022-01-01 17:50:55 -08:00
John D Pell a375e7131e Remove executable bit 2021-09-18 22:26:27 -07:00
Nils Winkler ca889da3e7 Removed embedded todo script
Fixes #710
2016-04-26 09:20:45 +02:00
Ivan Povalyukhin dabf0e8c42 [pathmunge] remove duplicate entry into PATH variable on reload command 2015-06-07 20:08:39 -07:00
Erich Smith 57283d72de respect profile overrides
overrides may now be specified for any of these defaults:
TODO_DIR=$BASH_IT/custom    # change if you want todo.txt and friends
                            # to live somewhere else

TODOTXT_DEFAULT_ACTION=ls   # change if you want a different action,
                            # like 'lsp' or 'lsprj'

TODO_SRC_DIR=
$BASH_IT/plugins/available/todo  # for custom installs with plugins
2012-05-10 20:39:18 -04:00
Erich Smith f5badb3c28 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/.
2012-05-09 19:37:37 -04:00