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
When using fish, rustup tries to write to ~/.config/fish/conf.d/rustup.fish, but if conf.d does not exist (but all parent directories do), the installation fails.
error: could not amend shell profile: '/root/.config/fish/conf.d/rustup.fish': could not write rcfile file: '/root/.config/fish/conf.d/rustup.fish': No such file or directory (os error 2)
Steps
Ensure that conf.d does not exist in ~/.config/fish
Try to install rustup
Possible Solution(s)
Simply check if the directory conf.d exists, and create it if it doesn't
Rustup version
rustup 1.27.0 (bbb9276d2 2024-03-08)
The text was updated successfully, but these errors were encountered:
Problem
When using fish, rustup tries to write to
~/.config/fish/conf.d/rustup.fish
, but ifconf.d
does not exist (but all parent directories do), the installation fails.Steps
conf.d
does not exist in~/.config/fish
Possible Solution(s)
Simply check if the directory
conf.d
exists, and create it if it doesn'tRustup version
rustup 1.27.0 (bbb9276d2 2024-03-08)
The text was updated successfully, but these errors were encountered: