todotxt / todo.txt-cli

☑️ A simple and extensible shell script for managing your todo.txt file.
http://todotxt.org
GNU General Public License v3.0
5.59k stars 713 forks source link

config file option for always prepend date #206

Closed plittlefield closed 7 years ago

plittlefield commented 7 years ago

Is there a config file option for this?

-t Prepend the current date to a task automatically when it's added.

Thanks.

inkarkat commented 7 years ago

From todo.sh -v -v help:

TODOTXT_DATE_ON_ADD             is same as option -t (1)/-T (0)

Put this into your ~/.todo.cfg, like this:

# Prepend the date to any added task.
export TODOTXT_DATE_ON_ADD=1
plittlefield commented 7 years ago

Thank you!

On 15 June 2017 at 20:20, Ingo Karkat notifications@github.com wrote:

From todo.sh -v -v help:

TODOTXT_DATE_ON_ADD is same as option -t (1)/-T (0)

Put this into your ~/.todo.cfg, like this:

Prepend the date to any added task.

export TODOTXT_DATE_ON_ADD=1

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/ginatrapani/todo.txt-cli/issues/206#issuecomment-308840990, or mute the thread https://github.com/notifications/unsubscribe-auth/AH4f6MoTc0MTx01csQkiwTtSXzg6dTxMks5sEYPygaJpZM4N5p0d .