Skip to content
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

feature request: undo the most recent out command. #184

Open
ian-kelling opened this issue Apr 23, 2020 · 2 comments
Open

feature request: undo the most recent out command. #184

ian-kelling opened this issue Apr 23, 2020 · 2 comments

Comments

@ian-kelling
Copy link

I sometimes clock out, then very quickly realize I need to finish one last thing, and I don't
bother to clock back in because it will only take a minute, but then of course it takes
a lot longer. I have a bash command that runs this:

sqlite3 ~/.timetrap.db "update entries set end = NULL where id = (select max(id) from entries);

but it seems it would be better if there was an equivalent within timetrap.

@namdnguyen
Copy link
Contributor

I run into this need occasionally, too. The workaround I use is to finish my task, then do t e -e 'now' when I'm done to bump up the end time. Then you can clock into the next task. To minimize the gap between the previous task and the next task that comes from typing in the next task, you can make it a one line command like t e -e 'now'; t i 'Next task'.

@dechimp
Copy link
Collaborator

dechimp commented Apr 24, 2020

Just wondering if implemented what the argument to -e would look like. -e "none"? or a blank value -e ""?

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

3 participants