mirror of
https://github.com/asdf-vm/asdf.git
synced 2024-11-15 01:28:17 -07:00
docs: rm duplicate text from asdf remove section (#962)
This commit is contained in:
parent
5dafbc8e39
commit
7ad301162f
@ -352,6 +352,12 @@ To uninstall `asdf` follow these steps:
|
||||
rm -rf ${ASDF_DATA_DIR:-$HOME/.asdf}
|
||||
```
|
||||
|
||||
3. Run this command to remove all `asdf` config files:
|
||||
|
||||
```shell
|
||||
rm -rf $HOME/.tool-versions $HOME/.asdfrc
|
||||
```
|
||||
|
||||
### --Linux,Fish,Git--
|
||||
|
||||
1. In your `~/.config/fish/config.fish` remove the lines that source `asdf.sh`:
|
||||
@ -372,6 +378,12 @@ rm -rf ~/.config/fish/completions/asdf.fish
|
||||
rm -rf ${ASDF_DATA_DIR:-$HOME/.asdf}
|
||||
```
|
||||
|
||||
3. Run this command to remove all `asdf` config files:
|
||||
|
||||
```shell
|
||||
rm -rf $HOME/.tool-versions $HOME/.asdfrc
|
||||
```
|
||||
|
||||
### --Linux,ZSH,Git--
|
||||
|
||||
1. In your `~/.zshrc` remove the lines that source `asdf.sh` and completions:
|
||||
@ -392,6 +404,12 @@ compinit
|
||||
rm -rf ${ASDF_DATA_DIR:-$HOME/.asdf}
|
||||
```
|
||||
|
||||
3. Run this command to remove all `asdf` config files:
|
||||
|
||||
```shell
|
||||
rm -rf $HOME/.tool-versions $HOME/.asdfrc
|
||||
```
|
||||
|
||||
### --Linux,Bash,Pacman--
|
||||
|
||||
1. In your `~/.bashrc` remove the lines that source `asdf.sh` and the completions:
|
||||
@ -412,6 +430,12 @@ pacman -Rs asdf-vm
|
||||
rm -rf ${ASDF_DATA_DIR:-$HOME/.asdf}
|
||||
```
|
||||
|
||||
4. Run this command to remove all `asdf` config files:
|
||||
|
||||
```shell
|
||||
rm -rf $HOME/.tool-versions $HOME/.asdfrc
|
||||
```
|
||||
|
||||
### --Linux,Fish,Pacman--
|
||||
|
||||
1. In your `~/.config/fish/config.fish` remove the lines that source `asdf.fish`:
|
||||
@ -432,6 +456,12 @@ pacman -Rs asdf-vm
|
||||
rm -rf ${ASDF_DATA_DIR:-$HOME/.asdf}
|
||||
```
|
||||
|
||||
4. Run this command to remove all `asdf` config files:
|
||||
|
||||
```shell
|
||||
rm -rf $HOME/.tool-versions $HOME/.asdfrc
|
||||
```
|
||||
|
||||
### --Linux,ZSH,Pacman--
|
||||
|
||||
1. In your `~/.zshrc` remove the lines that source `asdf.sh`:
|
||||
@ -452,6 +482,12 @@ pacman -Rs asdf-vm
|
||||
rm -rf ${ASDF_DATA_DIR:-$HOME/.asdf}
|
||||
```
|
||||
|
||||
4. Run this command to remove all `asdf` config files:
|
||||
|
||||
```shell
|
||||
rm -rf $HOME/.tool-versions $HOME/.asdfrc
|
||||
```
|
||||
|
||||
### --macOS,Bash,Git--
|
||||
|
||||
1. In your `~/.bash_profile` remove the lines that source `asdf.sh` and the completions:
|
||||
@ -467,6 +503,12 @@ rm -rf ${ASDF_DATA_DIR:-$HOME/.asdf}
|
||||
rm -rf ${ASDF_DATA_DIR:-$HOME/.asdf}
|
||||
```
|
||||
|
||||
3. Run this command to remove all `asdf` config files:
|
||||
|
||||
```shell
|
||||
rm -rf $HOME/.tool-versions $HOME/.asdfrc
|
||||
```
|
||||
|
||||
### --macOS,Fish,Git--
|
||||
|
||||
1. In your `~/.config/fish/config.fish` remove the lines that source `asdf.fish`:
|
||||
@ -487,6 +529,12 @@ rm -rf ~/.config/fish/completions/asdf.fish
|
||||
rm -rf ${ASDF_DATA_DIR:-$HOME/.asdf}
|
||||
```
|
||||
|
||||
3. Run this command to remove all `asdf` config files:
|
||||
|
||||
```shell
|
||||
rm -rf $HOME/.tool-versions $HOME/.asdfrc
|
||||
```
|
||||
|
||||
### --macOS,ZSH,Git--
|
||||
|
||||
1. In your `~/.zshrc` remove the lines that source `asdf.sh` and completions:
|
||||
@ -507,6 +555,12 @@ compinit
|
||||
rm -rf ${ASDF_DATA_DIR:-$HOME/.asdf}
|
||||
```
|
||||
|
||||
3. Run this command to remove all `asdf` config files:
|
||||
|
||||
```shell
|
||||
rm -rf $HOME/.tool-versions $HOME/.asdfrc
|
||||
```
|
||||
|
||||
### --macOS,Bash,Homebrew--
|
||||
|
||||
If using **macOS Catalina or newer**, the default shell has changed to **ZSH**. If you can't find any config in your `~/.bash_profile` it may be in a `~/.zshrc` in which case please follow the ZSH instructions.
|
||||
@ -526,6 +580,12 @@ If using **macOS Catalina or newer**, the default shell has changed to **ZSH**.
|
||||
brew uninstall asdf --force
|
||||
```
|
||||
|
||||
3. Run this command to remove all `asdf` config files:
|
||||
|
||||
```shell
|
||||
rm -rf $HOME/.tool-versions $HOME/.asdfrc
|
||||
```
|
||||
|
||||
### --macOS,Fish,Homebrew--
|
||||
|
||||
1. In your `~/.config/fish/config.fish` remove the lines that source `asdf.fish`:
|
||||
@ -540,6 +600,12 @@ source "(brew --prefix asdf)"/asdf.fish
|
||||
brew uninstall asdf --force
|
||||
```
|
||||
|
||||
3. Run this command to remove all `asdf` config files:
|
||||
|
||||
```shell
|
||||
rm -rf $HOME/.tool-versions $HOME/.asdfrc
|
||||
```
|
||||
|
||||
### --macOS,ZSH,Homebrew--
|
||||
|
||||
1. In your `~/.zshrc` remove the lines that source `asdf.sh`:
|
||||
@ -554,12 +620,12 @@ brew uninstall asdf --force
|
||||
brew uninstall asdf --force
|
||||
```
|
||||
|
||||
<!-- select:end -->
|
||||
|
||||
3. Run this command to remove all `asdf` config files:
|
||||
|
||||
```shell
|
||||
rm -rf $HOME/.tool-versions $HOME/.asdfrc
|
||||
```
|
||||
|
||||
<!-- select:end -->
|
||||
|
||||
That's it! 🎉
|
||||
|
Loading…
Reference in New Issue
Block a user