Open soderstroff opened 10 years ago
You can specify where to install by SHELLY_HOME
.
curl -L http://shlyfile.org/shly | SHELLY_HOME=~/.shly /bin/sh
You mean XDG_DATA_HOME
should be the default of it?
That's precisely what I mean. XDG_DATA_HOME for the lisp image cache and XDG_CONFIG_HOME for the configuration options.
Using XDG_DATA_HOME
as the default of the installation path is not so difficult. But putting "config" file at the different place makes it complicated and I don't see no benefits from it.
Well, it spares the user from having an extra dotfile in their home. There's a growing trend to move configurations into ~/.config/, and I think that's a good idea just for the sake of organization. But you're right, the only benefits are aesthetic.
Instead of cluttering up the user's home directory, don't you think it would be better to check for $XDG_DATA_HOME, $XDG_CONFIG_HOME, etc. first?