mirror of
https://github.com/asdf-vm/asdf.git
synced 2024-11-15 01:28:17 -07:00
Merge pull request #553 from olets/zshrc-optimization
Docs: Homebrew setup: do not add brew commands to the shell profile
This commit is contained in:
commit
07211e3c37
@ -56,8 +56,8 @@ in Bash](https://docs.brew.sh/Shell-Completion#configuring-completions-in-bash)
|
||||
in the Homebrew docs.
|
||||
|
||||
```bash
|
||||
echo -e '\n. $(brew --prefix asdf)/asdf.sh' >> ~/.bash_profile
|
||||
echo -e '\n. $(brew --prefix asdf)/etc/bash_completion.d/asdf.bash' >> ~/.bash_profile
|
||||
echo -e "\n. $(brew --prefix asdf)/asdf.sh" >> ~/.bash_profile
|
||||
echo -e "\n. $(brew --prefix asdf)/etc/bash_completion.d/asdf.bash" >> ~/.bash_profile
|
||||
```
|
||||
|
||||
#### ** ZSH **
|
||||
@ -80,9 +80,9 @@ unnecessary. See [Configuring Completions in
|
||||
ZSH](https://docs.brew.sh/Shell-Completion#configuring-completions-in-zsh) in
|
||||
the Homebrew docs.
|
||||
|
||||
```bash
|
||||
echo -e '\n. $(brew --prefix asdf)/asdf.sh' >> ~/.zshrc
|
||||
echo -e '\n. $(brew --prefix asdf)/etc/bash_completion.d/asdf.bash' >> ~/.zshrc
|
||||
```shell
|
||||
echo -e "\n. $(brew --prefix asdf)/asdf.sh" >> ~/.zshrc
|
||||
echo -e "\n. $(brew --prefix asdf)/etc/bash_completion.d/asdf.bash" >> ~/.zshrc
|
||||
```
|
||||
|
||||
If you are not using a framework, or if on starting your shell you get an
|
||||
|
Loading…
Reference in New Issue
Block a user