Skip to content

Fish shell error while sourcing ~/.cargo/env #83958

@72siddharth

Description

@72siddharth

I recently switched to Arch and decided to download Rust. Rustup and Cargo commands seem to work fine, but everytime I start Fish this message pops up:

case ":${PATH}:" in
^
from sourcing file ~/.cargo/env
	called on line 8 of file ~/.profile
from sourcing file ~/.profile
	called on line 14 of file ~/.config/fish/config.fish
from sourcing file ~/.config/fish/config.fish
	called during startup
source: Error while reading file “/home/sid/.cargo/env”

Fish Version --> 3.2.1
Rustup Version --> 1.23.1
I'm kind of a newbie to Linux so I would be grateful for any help.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions