Skip to content

Bash completion directory is missing after updating the stable toolchain to 1.71.0 #3407

Closed
@tristan957

Description

@tristan957

Problem

When launching a terminal, I am now seeing the following error:

/home/tristan957/.local/share/bash-completion/completions/cargo: line 2: /home/tristan957/.local/share/rustup/toolchains/stable-x86_64-unknown-linux-gnu/etc/bash_completion.d/cargo: No such file or directory
 $ echo $RUSTUP_HOME
/home/tristan957/.local/share/rustup

I am not entirely sure how this might've happened or if I am the only one experiencing this issue. The 1.70 toolchain that I have installed still has the bash completion files.

Steps

I just updated from 1.70 to 1.71, and this started happening.

Possible Solution(s)

No response

Notes

No response

Rustup version

rustup 1.26.0 (5af9b9484 2023-04-05)
info: This is the version for the rustup toolchain manager, not the rustc compiler.
info: The currently active `rustc` version is `rustc 1.71.0 (8ede3aae2 2023-07-12)`

Installed toolchains

$ rustup show
Default host: x86_64-unknown-linux-gnu
rustup home:  /home/tristan957/.local/share/rustup

installed toolchains
--------------------

stable-x86_64-unknown-linux-gnu (default)
1.70.0-x86_64-unknown-linux-gnu

active toolchain
----------------

stable-x86_64-unknown-linux-gnu (default)
rustc 1.71.0 (8ede3aae2 2023-07-12)

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions