rust-lang / rust-lang/rustup

Consider implementing `rustup shell`

Open
#150 5 comments 1 reaction 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Rust
Stars
7k
Forks
1.1k
Avg merge
22h 40m
Merged PRs (30d)
46

Description

Like rbenv shell. This allows you to configure the running shell to use a particular toolchain. It's super convenient but the way it does it is pretty nasty: .bashrc runs eval $(rbenv init), which creates an rbenv shell function that intercepts rbenv shell in order to inject environment variables into the running shell.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start with the requested rustup shell entry point and compare its intended behavior with rbenv shell, including the .bashrc and rbenv init shell-function approach described here. Done means a running shell can be configured to use a particular Rust toolchain, with the behavior and integration details established.

Written by the indexing model from the issue text.

Assessment

Tech stack
rust, shell
Domain
cli, tooling
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.