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

Fish doesnt work #11163

Closed
iMonZ opened this issue Sep 30, 2022 · 1 comment
Closed

Fish doesnt work #11163

iMonZ opened this issue Sep 30, 2022 · 1 comment
Labels
C-bug Category: bug

Comments

@iMonZ
Copy link

iMonZ commented Sep 30, 2022

Problem

If the famous fish shell is used, it's hard to install

Steps

  1. Use Fish
  2. install rust and cargo over the cli command from the website

Possible Solution(s)

No response

Notes

Message after cargo and rust is installed

Rust is installed now. Great!

To get started you may need to restart your current shell.
This would reload your PATH environment variable to include
Cargo's bin directory ($HOME/.cargo/bin).

To configure your current shell, run:
source "$HOME/.cargo/env"

Then I execute this command:

~  source "$HOME/.cargo/env"

And I get this error message:

~/.cargo/env (line 4): 'case' builtin not inside of switch block
case ":${PATH}:" in
^
from sourcing file ~/.cargo/env
source: Error while reading file '/Users/mvg/.cargo/env'

So please fix the detection of the fish shell.

Version

No response

@iMonZ iMonZ added the C-bug Category: bug label Sep 30, 2022
@ehuss
Copy link
Contributor

ehuss commented Sep 30, 2022

Unfortunately fish shell isn't fully supported by rustup at this time. This seems to be more or less a duplicate of rust-lang/rustup#478, so closing in favor of that.

@ehuss ehuss closed this as not planned Won't fix, can't repro, duplicate, stale Sep 30, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
C-bug Category: bug
Projects
None yet
Development

No branches or pull requests

2 participants