Skip to content

Commit

Permalink
docs: clean up activation instructions
Browse files Browse the repository at this point in the history
  • Loading branch information
jdx committed Jan 12, 2025
1 parent b310e11 commit 3df60dd
Showing 1 changed file with 8 additions and 4 deletions.
12 changes: 8 additions & 4 deletions docs/getting-started.md
Original file line number Diff line number Diff line change
Expand Up @@ -131,14 +131,18 @@ echo '~/.local/bin/mise activate fish | source' >> ~/.config/fish/config.fish
::: code-group

```sh [bash]
echo 'eval "$(/opt/homebrew/bin/mise activate bash)"' >> ~/.bashrc
echo 'eval "$(mise activate bash)"' >> ~/.bashrc
```

```sh [zsh]
echo 'eval "$(/opt/homebrew/bin/mise activate zsh)"' >> ~/.zshrc
echo 'eval "$(mise activate zsh)"' >> ~/.zshrc
```

```sh [fish]
# do nothing! mise is automatically activated when using brew and fish
# you can disable this behavior with `set -Ux MISE_FISH_AUTO_ACTIVATE 0`
```

- Activation will be handled automatically if you use `fish` shell and installed via `homebrew`. This can be disabled with `set -Ux MISE_FISH_AUTO_ACTIVATE 0`.
- Make sure you restart your shell session after modifying your rc file in order for it to take effect.

== Windows
Expand All @@ -155,7 +159,7 @@ Only shims are supported for now on Windows.
[Environment]::SetEnvironmentVariable('Path', $newPath, 'User')
```

== Debian/Ubuntu (apt)
== Other package managers

::: code-group

Expand Down

0 comments on commit 3df60dd

Please sign in to comment.