Valet: Move ~/.valet to ~/.config/valet

Created on 27 Sep 2017  Â·  4Comments  Â·  Source: laravel/valet

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!

Most helpful comment

I agree with this. Lot of stuff is migrating over to the spec. Yarn recently did too.

All 4 comments

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.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

dustinleblanc picture dustinleblanc  Â·  4Comments

crydotsnake picture crydotsnake  Â·  5Comments

LucidNinja picture LucidNinja  Â·  4Comments

pmochine picture pmochine  Â·  5Comments

TimOgilvy picture TimOgilvy  Â·  3Comments