Skip to content

Commit

Permalink
docs: rm duplicate text from asdf remove section (#962)
Browse files Browse the repository at this point in the history
  • Loading branch information
jthegedus committed May 26, 2021
1 parent 5dafbc8 commit 7ad3011
Showing 1 changed file with 68 additions and 2 deletions.
70 changes: 68 additions & 2 deletions docs/core-manage-asdf.md
Expand Up @@ -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`:
Expand All @@ -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:
Expand All @@ -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:
Expand All @@ -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`:
Expand All @@ -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`:
Expand All @@ -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:
Expand All @@ -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`:
Expand All @@ -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:
Expand All @@ -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.
Expand All @@ -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`:
Expand All @@ -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`:
Expand All @@ -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! 🎉

0 comments on commit 7ad3011

Please sign in to comment.