代码拉取完成,页面将自动刷新
All notable changes to this project will be documented in this file.
The format is based on Keep a Changelog and this project adheres to Semantic Versioning.
$XDG_CONFIG_HOME
config file/actions locationadd
command to accept lowercase priority (#230)/etc/todo/config
. make install
installs a global config file.post_filter_command
for listall
and listpri
.todo.sh ls 10[tab]
.-h
, shorthelp
, and help
when a Fatal Error happens.todo_completion
problem with Bash 3.1.todo.txt
and done.txt
. Type @<Tab>
or +<Tab>
while entering a task.todo.sh listpri A-B
listpri
/lsp
now filters by term. For example, todo.sh lsp A book
will only return tasks prioritized A
with the word book in them.-t
) get the date where expected.do
, pri
, and depri
all let you know if a task is already done, prioritized, or deprioritized.-c
, -A
, -N
, -T
)cleaninput()
for use in addonsTODO:
so it's easier to see when the core script vs. addon is performing an actionlistpri
complains if specified priority is invalid\c \033
)|
(pipe) from task input-+
and -@
no longer break task coloring if context or project appears at the end of the line${color black}
)die()
function for use in custom commandsprepend
and replace
actions keep prepended date, append
considers sentence delimitersTODOTXT_VERBOSE
tests._list()
output to match updated addto
.=~
$HOME/.todo/
for all todo.sh configuration$TODO_FULL_SH
addm
priority
setdo
itemsprepend
not correct on prioritized tasks[ -~]
to [ ~-]
.do
: no safeguard to do
twice. Tests item is not marked done before attempting to mark item as "done".add
does not escape line breaksappend
and replace
unexpected behavior if there's an &
in task (even in quotes)ID
begins with 0
ought to be ignored.TODOTXT_FINAL_FILTER
to provide a final custom list filter.todo.cfg
).todo.actions.d
directorypri
taskstodo.cfg
.todo.cfg
.listcon
and listproj
now work correctly on Mac OS X 10.5pri
accepted priorities of more than a single letterTODOTXT_SORT_COMMAND
; e.g. piped commands can be used: export TODOTXT_SORT_COMMAND=" env LC_COLLATE=C sort -f -k2 - | grep -m 10 ."
depri
no longer wipes out tasks with more than just the priority in parenthesestodo.sh pri AA
doesn't work any more.-P
, -@
and -+
-vv
option for debugging output-h
_list
function for reuse by various versions of list command to reduce duplicate codels
as the default action~/.todo.actions.d/
support (via Tammy and Ed)-t
param, off by default. When specified, it automatically prepends the current date to new todo's on add~/.todo.cfg
if ~/todo.cfg
doesn't exist (via Ed)-d
parameter functionality broken in 2.0 (d'oh, thanks Jason, you made the changelog! )addto [DEST] "Text to add"
will append text to any file in the todo directory, like ideas.txt
or maybelater.txt
.mv # [DEST]
will move a task from todo.txt
to another file [DEST]
in the todo directory, like if you decide your "Learn French"
task should go into your maybelater.txt
file.depri #
removes priority from a task.rm # [TERM]
or del # [TERM]
will delete just the [TERM]
from the task on line # in todo.txt.listfile [SRC] [TERM]
or lf [SRC] [TERM]
will list the contents of any text file in the todo directory, and filter by keyword [TERM]
.listcon
(lsc
) and listproj
(lsprj
) lists contexts and projects, respectively, that appear in todo.txt. (Requires gawk
)-n
option.-a
parameter./bin/bash
instead of /bin/sh
add/a
, list/ls
, listpri/lsp
, listall/lsa
, prepend/prep
, append/app
, del/rm
listpri
automatically capitalizes lowercase prioritieslistpri
now displays friendly error message, and the # of tasks returned in verbose modedo
action removes priority from task automatically
Update:todo.sh Add
will work)add
, append
, prepend
, and replace
(tx, Ben!)listall
displays tasks from both todo.txt and done.txt-f
forces delete action and disables interactive input (for todobot.pl)-h
displays full help message.-q
deprecated; Use -v
to turn on verbose mode.todo
file being required.todo
file is now $HOME/.todo
-p
) now works as expectedprepend
adds text to an item at the beginning of the line..todo
file.todo
using the -d
option-q
quiets todo.sh's chattiness.-V
shows version and license information.-p
(no longer -nc
as in 1.5.2)x
(an x with a space after) are archived now to avoid lines that start with a word like xander
from being archived. (tx, Tannie!)x
as well.x
in them at all were being deleted on archive with 1.5; all fixed now.todo.sh -nc [COMMAND]
x 2006-06-24
(tx SETH)remdup
removes exact duplicate lines from todo.txt (tx Tannie)del
removes any blank lines from todo.txt (tx Tannie)sed -i
instead of copying tmp file (tx Tannie)if-then
to a case
statement, and tightened up wc -l
regex. (Thanks, Sash!)replace
/do
/append
to a non-existent task, your todo.txt is no longer overwritten and the error is handled gracefully. (Thanks, Scott!)append
, replace
, do
, etc.sed
commands, removed unnecessary grep
s and cat
s (Thanks, Sash!)report.txt
format, for easier graphing or Excel imports.list
is case insenstive. ie, todo list Mac
will match lines with "mac" and "Mac"todo list
matches multiple [TERM]s. ie, todo list mac offline
will match all lines that contain the words "mac" and "offline"repri
and pri
actions combined into pri
action (Thanks Mike!)add
and replace
(Thanks Karl!)todo pri 1 a
will return a usage error.C:\Documents and Settings\gina\todo.txt
)此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。