Ammonite icon indicating copy to clipboard operation
Ammonite copied to clipboard

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

Open ckipp01 opened this issue 2 years ago • 2 comments

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?

ckipp01 avatar Nov 02 '22 09:11 ckipp01

@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.

untainsYD avatar Aug 30 '23 23:08 untainsYD

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.

lefou avatar Aug 31 '23 13:08 lefou