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

Add option to customize db location #94

Open
greenmooseSE opened this issue Oct 5, 2019 · 1 comment
Open

Add option to customize db location #94

greenmooseSE opened this issue Oct 5, 2019 · 1 comment

Comments

@greenmooseSE
Copy link

My home directory is on a GDrive path meaning GDrive locks the files now and then.
Anyhow I want to have my db at another place (e.g. c:/users), so it isn't constantly synced by google drive. It would be nice if this was feasible by e.g. setting an env.var ZLOCATION_DBPATH or similar.

Side note:
Code below caused index out of range error in dboperation function

 Write-Error $error[0]

Changing it to e.g. Write-Error ($error | select -first 1) voids the index out of range at least).

Thanks.

@vors
Copy link
Owner

vors commented Oct 11, 2019

great point, would you be able to send a Pull Request for the $error[0] thing?

Actually the customization of the db location path thru env var is also fairly straightforward. Would you like to hack this up? If you are up for it, but struggling, me or @theaquamarine always glad to help.

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

2 participants