GothenburgBitFactory / GothenburgBitFactory/taskshell

Ability to specify what runs when starting tasksh

Open
#71 0 comments 1 reaction 0 assignees View on GitHub
Dominant language
Python
Stars
96
Forks
24
PR merge metrics
No merged PRs in 30d

Description

I don't want the help output when starting tasksh, but I do always run the same report straight away.

So in tasksh/src/main.cpp `welcome` I added a check for config `tasksh.default` and (if defined) it gets appended to `task ` and executed.

Then I defaulted `tasksh.welcome=header,default,help` in taskwarrior/src/Context.cpp and updated the logic in tasksh `welcome` to loop through and output the items specified. (Then updated my taskrc file to just be `header,default`.)

If interested let me know and I'll look at what's needed for docs/tests/etc and send a patch or pull request...

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.