Skip to content

Ability to specify what runs when starting tasksh #71

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

Open
boughtonp opened this issue Mar 15, 2022 · 0 comments
Open

Ability to specify what runs when starting tasksh #71

boughtonp opened this issue Mar 15, 2022 · 0 comments

Comments

@boughtonp
Copy link

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...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant