Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

~/.config/fish/conf.d is not created automatically #3735

Closed
wait-what opened this issue Mar 24, 2024 · 1 comment
Closed

~/.config/fish/conf.d is not created automatically #3735

wait-what opened this issue Mar 24, 2024 · 1 comment
Labels

Comments

@wait-what
Copy link

wait-what commented Mar 24, 2024

Problem

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

  1. Ensure that conf.d does not exist in ~/.config/fish
  2. 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)
@wait-what wait-what added the bug label Mar 24, 2024
@wait-what
Copy link
Author

Nevermind, duplicate of #3706

@wait-what wait-what closed this as not planned Won't fix, can't repro, duplicate, stale Mar 24, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant