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

Consider using dirs-dev instead of putting everything in $HOME/.ammonite #1309

Open
ckipp01 opened this issue Nov 2, 2022 · 2 comments
Open

Comments

@ckipp01
Copy link
Contributor

ckipp01 commented Nov 2, 2022

Lately I've been trying to clean up my $HOME dir and have been noticing that a lot of the Scala ecosystem stick stuff in $HOME.

I see Ammonite has a $HOME/.ammonite dir it's using but I wonder if instead it'd be better to rely on something like dirs-dev to handle this more correctly and place these things in the appropriate places instead of polluting the users home directory. For example utilizing things like XDG_CACHE_HOME/ammonite instead.

Do you think this would be possible, or do you see any issues with this?

@untainsYD
Copy link

@lihaoyi i do support that feature because absence of xdg specification in 2023 is an absolute nightmare. Would you like to change $HOME directory?
Here the proposal.

@lefou
Copy link
Member

lefou commented Aug 31, 2023

I do support the switch to XDG dirs. Also, the timeframe couldn't be better, Now that we are pre-3.0.0 and can easily introduce changes.

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