Skip to content

Commit 9f9a13b

Browse files
loewenheimstephanie-anderson
authored andcommitted
Environment: added instructions for fish shell (#262)
1 parent 0d6c641 commit 9f9a13b

File tree

1 file changed

+13
-0
lines changed

1 file changed

+13
-0
lines changed

develop-docs/environment/index.mdx

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -98,6 +98,10 @@ eval "$(pyenv init -)"
9898
eval "$(pyenv init -)"
9999
```
100100

101+
```bash {filename: ~/.config/fish/config.fish} {tabTitle: Fish}
102+
source (pyenv init - | psub)
103+
```
104+
101105

102106
Once that's done, your shell needs to be reloaded. You can either reload it in-place, or close your terminal and start it
103107
again and cd into sentry. To reload it, run:
@@ -158,6 +162,11 @@ export VOLTA_HOME="~/.volta"
158162
grep --silent "$VOLTA_HOME/bin" <<< $PATH || export PATH="$VOLTA_HOME/bin:$PATH"
159163
```
160164

165+
```bash {filename: ~/.config/fish/config.fish} {tabTitle: Fish}
166+
set -gx VOLTA_HOME "$HOME/.volta"
167+
set -gx PATH "$VOLTA_HOME/bin" $PATH
168+
```
169+
161170
Now, if you try and run `volta`, you should see some help text, meaning volta is installed correctly. To install node,
162171
simply run:
163172

@@ -199,6 +208,10 @@ eval "$(direnv hook bash)"
199208
eval "$(direnv hook zsh)"
200209
```
201210

211+
```bash {filename ~/.config/fish/config.fish} {tabTitle: Fish}
212+
direnv hook fish | source
213+
```
214+
202215
And after doing that, reload your shell:
203216

204217
```bash

0 commit comments

Comments
 (0)