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

Autocomplete script assumes ~./timetrap.db existence #189

Closed
vcavallo opened this issue Oct 30, 2020 · 2 comments
Closed

Autocomplete script assumes ~./timetrap.db existence #189

vcavallo opened this issue Oct 30, 2020 · 2 comments

Comments

@vcavallo
Copy link

timetrap.yml allows setting arbitrary locations for the db file. This is wonderful. However, if you have used a different location for your db file, you'll get an error upon trying to trigger autocompletion, as the timetrap-autocomplete.bash file assumes that the database file resides at ~/.timetrap.db.

The simplest way to address this for now is probably just to add a line to the README suggesting that users symlink their non-standard db file location to their home directory.
Hopefully I have time today to open that PR.

vcavallo added a commit to vcavallo/timetrap that referenced this issue Oct 30, 2020
The bash autocomplete script assumes that the timetrap database is located at the root of the user's directory. If the user has moved it, they'll need to create a symlink.
Closes samg#189
@categulario
Copy link
Collaborator

Hey @vcavallo I made a little change in the bash completion script. Please check if that solves the issue for you.

@categulario
Copy link
Collaborator

Bash autocomplete no longer asumes the location of the database file. Solved in e7e0bbe

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

Successfully merging a pull request may close this issue.

2 participants