mirror of
https://github.com/asdf-vm/asdf.git
synced 2024-11-15 01:28:17 -07:00
docs: add libexec to Homebrew path (#1020)
now that https://github.com/Homebrew/homebrew-core/pull/81664 is merged.
This commit is contained in:
parent
a3ba5a794c
commit
fe5b71d139
@ -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.
|
||||
|
@ -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:
|
||||
|
@ -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.
|
||||
|
@ -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:
|
||||
|
Loading…
Reference in New Issue
Block a user