You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The rustup install shell script announces that it will load and create two related directories:
~/.rustup
~/.cargo
This adds to the burden of config data and metadata in dot-directories and dot-files on *nix systems. My personal practice is to place all dot- files and directories under the recommended ~/.config/ directory; even when I am forced to create symbolic a link, as in this example: ".mysql --> .config/mysql".
In the same section of rustup ... the script informs me that these locations can be modified respectively with:
RUSTUP_HOME and
CARGO_HOME
environment variables. At that point I cancelled the rustup shell install script and defined the relevant environment variables and re-ran the script with encouraging results. The initial preamble reported that the installer would use the:
~/.config/rustup/
~/.config/.cargo/
... directories defined by the respective environment variables. The installer did an excellent job "enabling" the specified directories. Well done rustup team :-D
Solution you'd like
I would prefer that the default configuration and metadata follow the OpenDesktop standard and place settings and data under the $HOME/.config/ directory.
The rustup script could use the environment variables FreeDesktop specification for setting environment variables.
Problem you are trying to solve
The
rustup
install shell script announces that it will load and create two related directories:~/.rustup
~/.cargo
This adds to the burden of config data and metadata in dot-directories and dot-files on *nix systems. My personal practice is to place all dot- files and directories under the recommended
~/.config/
directory; even when I am forced to create symbolic a link, as in this example: ".mysql --> .config/mysql
".In the same section of
rustup
... the script informs me that these locations can be modified respectively with:RUSTUP_HOME
andCARGO_HOME
environment variables. At that point I cancelled the
rustup
shell install script and defined the relevant environment variables and re-ran the script with encouraging results. The initial preamble reported that the installer would use the:~/.config/rustup/
~/.config/.cargo/
... directories defined by the respective environment variables. The installer did an excellent job "enabling" the specified directories. Well done rustup team :-D
Solution you'd like
I would prefer that the default configuration and metadata follow the OpenDesktop standard and place settings and data under the
$HOME/.config/
directory.The
rustup
script could use the environment variables FreeDesktop specification for setting environment variables.Furthermore, this allows users to keep configuration information under one umbrella directory and improve general admin and maintenance processing.
Notes
Please see:
... for a more rounded view of this opportunity.
systemd
_ installations..-files
" and have them under a common location like~/.config/...
The text was updated successfully, but these errors were encountered: