-
Notifications
You must be signed in to change notification settings - Fork 716
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add optional coloring of task IDs #266
Comments
Hello dynobo,
dynobo writes:
**Do you want to request a *feature* or report a *bug*?**
Feature request
**What is the current behavior?**
Task IDs (the numbers on the beginning of every task) are formated using the default formatting
[...]
As a possible workaround I use the following to underline them (in
~/.todo/config):
export TODOTXT_FINAL_FILTER='awk '"'"'$1 = sprintf("\033[4m%s\033[0m", $1)'"'"''
|
@iamleot: |
dynobo writes:
@iamleot:
Nice solution! Works for me, so feel free to cancel my PR and close :-)
I'm not a todo.txt-cli developer and I think that having a COLOR_ID
as you have proposed is handier (and also consistent with other
COLOR_* variables!) than adjusting it via TODOTXT_FINAL_FILTER! :)
|
@iamleot: okay, I'll leave the PR open, and wait for an opinion by one of the devs :-) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Do you want to request a feature or report a bug?
Feature request
What is the current behavior?
Task IDs (the numbers on the beginning of every task) are formated using the default formatting
What is the expected behavior?
Task IDs can be configured to show up in a different color
Which versions todo.sh are you using?
Which Operating System are you using?
Arch Linux
Which version of bash are you using?
The text was updated successfully, but these errors were encountered: