docs: add libexec to Homebrew path (#1020)

now that https://github.com/Homebrew/homebrew-core/pull/81664 is merged.
This commit is contained in:
Eric Nielsen 2021-08-07 02:43:13 -05:00 committed by GitHub
parent a3ba5a794c
commit fe5b71d139
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
4 changed files with 12 additions and 12 deletions

View File

@ -82,7 +82,7 @@ If using **macOS Catalina or newer**, the default shell has changed to **ZSH**.
Add `asdf.sh` to your `~/.bash_profile` with:
```shell:no-line-numbers
echo -e "\n. $(brew --prefix asdf)/asdf.sh" >> ~/.bash_profile
echo -e "\n. $(brew --prefix asdf)/libexec/asdf.sh" >> ~/.bash_profile
```
Completions will need to be [configured as per Homebrew's instructions](https://docs.brew.sh/Shell-Completion#configuring-completions-in-bash) or with the following:
@ -125,7 +125,7 @@ mkdir -p ~/.config/fish/completions; and ln -s ~/.asdf/completions/asdf.fish ~/.
Add `asdf.fish` to your `~/.config/fish/config.fish` with:
```shell:no-line-numbers
echo -e "\nsource "(brew --prefix asdf)"/asdf.fish" >> ~/.config/fish/config.fish
echo -e "\nsource "(brew --prefix asdf)"/libexec/asdf.fish" >> ~/.config/fish/config.fish
```
Completions are [handled by Homebrew for the Fish shell](https://docs.brew.sh/Shell-Completion#configuring-completions-in-fish). Friendly!
@ -174,7 +174,7 @@ If you are using a ZSH Framework the associated `asdf` plugin may need to be upd
Add `asdf.sh` to your `~/.zshrc` with:
```shell
echo -e "\n. $(brew --prefix asdf)/asdf.sh" >> ${ZDOTDIR:-~}/.zshrc
echo -e "\n. $(brew --prefix asdf)/libexec/asdf.sh" >> ${ZDOTDIR:-~}/.zshrc
```
**OR** use a ZSH Framework plugin like [asdf for oh-my-zsh](https://github.com/ohmyzsh/ohmyzsh/tree/master/plugins/asdf) which will source this script and setup completions.

View File

@ -131,7 +131,7 @@ If using **macOS Catalina or newer**, the default shell has changed to **ZSH**.
1. In your `~/.bash_profile` remove the lines that source `asdf.sh` and the completions:
```shell
. $(brew --prefix asdf)/asdf.sh
. $(brew --prefix asdf)/libexec/asdf.sh
. $(brew --prefix asdf)/etc/bash_completion.d/asdf.bash
```
@ -212,7 +212,7 @@ rm -rf $HOME/.tool-versions $HOME/.asdfrc
1. In your `~/.config/fish/config.fish` remove the lines that source `asdf.fish`:
```shell
source "(brew --prefix asdf)"/asdf.fish
source "(brew --prefix asdf)"/libexec/asdf.fish
```
2. Uninstall with your package manager:
@ -290,7 +290,7 @@ rm -rf $HOME/.tool-versions $HOME/.asdfrc
1. In your `~/.zshrc` remove the lines that source `asdf.sh`:
```shell
. $(brew --prefix asdf)/asdf.sh
. $(brew --prefix asdf)/libexec/asdf.sh
```
2. Uninstall with your package manager:

View File

@ -84,7 +84,7 @@ If using **macOS Catalina or newer**, the default shell has changed to **ZSH**.
Add `asdf.sh` to your `~/.bash_profile` with:
```shell:no-line-numbers
echo -e "\n. $(brew --prefix asdf)/asdf.sh" >> ~/.bash_profile
echo -e "\n. $(brew --prefix asdf)/libexec/asdf.sh" >> ~/.bash_profile
```
Completions will need to be [configured as per Homebrew's instructions](https://docs.brew.sh/Shell-Completion#configuring-completions-in-bash) or with the following:
@ -127,7 +127,7 @@ mkdir -p ~/.config/fish/completions; and ln -s ~/.asdf/completions/asdf.fish ~/.
Add `asdf.fish` to your `~/.config/fish/config.fish` with:
```shell:no-line-numbers
echo -e "\nsource "(brew --prefix asdf)"/asdf.fish" >> ~/.config/fish/config.fish
echo -e "\nsource "(brew --prefix asdf)"/libexec/asdf.fish" >> ~/.config/fish/config.fish
```
Completions are [handled by Homebrew for the Fish shell](https://docs.brew.sh/Shell-Completion#configuring-completions-in-fish). Friendly!
@ -176,7 +176,7 @@ If you are using a ZSH Framework the associated `asdf` plugin may need to be upd
Add `asdf.sh` to your `~/.zshrc` with:
```shell
echo -e "\n. $(brew --prefix asdf)/asdf.sh" >> ${ZDOTDIR:-~}/.zshrc
echo -e "\n. $(brew --prefix asdf)/libexec/asdf.sh" >> ${ZDOTDIR:-~}/.zshrc
```
**OR** use a ZSH Framework plugin like [asdf for oh-my-zsh](https://github.com/ohmyzsh/ohmyzsh/tree/master/plugins/asdf) which will source this script and setup completions.

View File

@ -133,7 +133,7 @@ Caso esteja usando **macOs Catalina ou mais recente**, por padrão o _shell_ é
1. Em seu `~/.bash_profile` remova as linhas do `asdf.sh` e remova seus complementos:
```shell
. $(brew --prefix asdf)/asdf.sh
. $(brew --prefix asdf)/libexec/asdf.sh
. $(brew --prefix asdf)/etc/bash_completion.d/asdf.bash
```
@ -214,7 +214,7 @@ rm -rf $HOME/.tool-versions $HOME/.asdfrc
1. Em seu `~/.config/fish/config.fish` remova as linhas do `asdf.fish`:
```shell
source "(brew --prefix asdf)"/asdf.fish
source "(brew --prefix asdf)"/libexec/asdf.fish
```
2. Desinstale usando seu gerenciador de pacotes:
@ -292,7 +292,7 @@ rm -rf $HOME/.tool-versions $HOME/.asdfrc
1. Em seu `~/.zshrc` remova as linhas do `asdf.sh`:
```shell
. $(brew --prefix asdf)/asdf.sh
. $(brew --prefix asdf)/libexec/asdf.sh
```
2. Desinstale usando seu gerenciador de pacotes: