Skip to content

Commit d9a16e4

Browse files
committed
Add Homebrew instructions for fish shell
1 parent 4149bf5 commit d9a16e4

File tree

1 file changed

+12
-0
lines changed

1 file changed

+12
-0
lines changed

docs/core-manage-asdf-vm.md

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -95,11 +95,23 @@ autoload -Uz compinit && compinit
9595

9696
#### ** Fish **
9797

98+
Installation via **Git**:
99+
98100
```shell
99101
echo 'source ~/.asdf/asdf.fish' >> ~/.config/fish/config.fish
100102
mkdir -p ~/.config/fish/completions; and cp ~/.asdf/completions/asdf.fish ~/.config/fish/completions
101103
```
102104

105+
Installation via **Homebrew**:
106+
107+
?> Homebrew takes care of [installing the completions for fish
108+
shell](https://docs.brew.sh/Shell-Completion#configuring-completions-in-fish).
109+
Friendly!
110+
111+
```shell
112+
echo 'source (brew --prefix asdf)/asdf.fish' >> ~/.config/fish/config.fish
113+
```
114+
103115
<!-- tabs:end -->
104116

105117
Restart your shell so that PATH changes take effect. (Opening a new terminal

0 commit comments

Comments
 (0)