It would be really nice if Valet were to move the default installation path from ~/.valet to ~/.config/valet to conform to https://specifications.freedesktop.org/basedir-spec/basedir-spec-latest.html
A lot of software (fish shell is one of them for example) is going this way now because users get annoyed with the home directory becoming cluttered with endless configuration files. I think it would be a very basic change to this file here: https://github.com/laravel/valet/blob/a0dbae74bf2a8b63ae1ccb9d2cbfea2349e1fe59/server.php
The more software which transitions over to this standard the better!
Note: Additional changes required:
https://github.com/laravel/valet/blob/master/valet#L40
https://github.com/laravel/valet/blob/master/cli/Valet/DnsMasq.php#L143
https://github.com/laravel/valet/blob/master/cli/includes/helpers.php#L11
And docblocks in multiple other spots.
I agree with this. Lot of stuff is migrating over to the spec. Yarn recently did too.
Cool I like this idea. Would love a PR that also migrates the config from
the current location on install, making sure to preserve any secured sites
and stuff like that.
On Wed, Sep 27, 2017 at 4:40 PM Josh Manders notifications@github.com
wrote:
I agree with this. Lot of stuff is migrating over to the spec. Yarn
recently did too.—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/laravel/valet/issues/447#issuecomment-332648586, or mute
the thread
https://github.com/notifications/unsubscribe-auth/AEH3bOO5u50gye8Re_W_qlPFrqM05MYLks5smrLagaJpZM4PmSwD
.
Glad to see so much support for this issue, I will submit a PR shortly.
Most helpful comment
I agree with this. Lot of stuff is migrating over to the spec. Yarn recently did too.