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

More sensible $WAKATIME_HOME default #655

Closed
kidonng opened this issue Feb 20, 2022 · 3 comments
Closed

More sensible $WAKATIME_HOME default #655

kidonng opened this issue Feb 20, 2022 · 3 comments

Comments

@kidonng
Copy link

kidonng commented Feb 20, 2022

Is your feature request related to a problem? Please describe.

$WAKATIME_HOME defaults to your user's $HOME directory.

Convenient, right? Until you come up with the same question as many others have:

$ ls -a ~ | grep wakatime
.wakatime
.wakatime-internal.cfg
.wakatime.bdb
.wakatime.cfg
.wakatime.data
.wakatime.log

So after some digging you find $WAKATIME_HOME, which is great except it is not obvious how to set environment variable in Windows and especially macOS, which keeps the environment in some obscure location.

Describe the solution you'd like to see

$WAKATIME_HOME should have a more sensible default that doesn't clutter user's home directory, like $XDG_CONFIG_HOME/wakatime (where $XDG_CONFIG_HOME defaults to $HOME/.config if not set), or $HOME/.wakatime where the CLI is already stored.

Describe alternatives you've considered

Ask everyone to set $WAKATIME_HOME 🤷

Additional context

@alanhamlett
Copy link
Member

How about we move all these files into the ~/.wakatime/ folder by default?

@gandarez gandarez removed the triage label Feb 22, 2022
@nagromc
Copy link

nagromc commented Feb 24, 2022

Related to #558.

@kidonng
Copy link
Author

kidonng commented Feb 24, 2022

@nagromc Oops, then this is more likely a duplicate.

But I'd really like to see this being pushed forward instead of waiting for 5 months 😅

@kidonng kidonng closed this as completed Feb 24, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants