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

Homebrew linux install "switch command not found" #102

Closed
cdenneen opened this issue Dec 6, 2023 · 2 comments
Closed

Homebrew linux install "switch command not found" #102

cdenneen opened this issue Dec 6, 2023 · 2 comments

Comments

@cdenneen
Copy link

cdenneen commented Dec 6, 2023

So followed the Homebrew installation instructions but once the following is run from bashrc it doesn't work (or if manually running it):

$ switcher init bash
Error: context with name "init" not found
context with name "init" not found

$ bash --version
bash --version
GNU bash, version 5.2.21(1)-release (x86_64-pc-linux-gnu)
@danielfoehrKn
Copy link
Owner

Hi, please use the command switch which is a sourced shell function.

@cdenneen
Copy link
Author

cdenneen commented Dec 6, 2023

Sorry had to downgrade to 0.7.2 since 0.8.x isn’t supported on AL2 (glibc). Downgrading changed the way to source the function.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants