fix: replace leftover 'pathman add' with 'webi_path_add'

This commit is contained in:
AJ ONeal
2023-10-24 13:16:54 -06:00
parent 4b8f62a1b8
commit 1306fd6ebc
4 changed files with 8 additions and 10 deletions
+1 -1
View File
@@ -34,7 +34,7 @@ _install_gpg() {
rm -rf ~/.local/opt/gnupg
ln -s gnupg-"${WEBI_VERSION}" ~/.local/opt/gnupg
pathman add ~/.local/opt/gnupg/bin
webi_path_add ~/.local/opt/gnupg/bin
export PATH="$HOME/.local/opt/gnupg/bin:$PATH"
export PATH="$HOME/.local/opt/gnupg/bin/pinentry-mac.app/Contents/MacOS:$PATH"
+2 -2
View File
@@ -45,10 +45,10 @@ __init_pyenv() {
fi
mkdir -p ~/.pyenv/bin
pathman add ~/.pyenv/bin
webi_path_add ~/.pyenv/bin
mkdir -p ~/.pyenv/shims
pathman add ~/.pyenv/shims
webi_path_add ~/.pyenv/shims
echo "NOTE: You may also need to CLOSE and RE-OPEN your terminal for pyenv to take effect."
}
+1 -1
View File
@@ -9,7 +9,7 @@ __install_rust() {
# Straight from https://rustup.rs/
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh
pathman add "$HOME/.cargo/bin"
webi_path_add "$HOME/.cargo/bin"
}
__install_rust
+4 -6
View File
@@ -39,9 +39,10 @@ webi node@lts golang@stable flutter@beta rustlang
### webi PATHs
You can see exactly what PATHs have been edited:
You can see exactly what PATHs have been edited with [`pathman`](../pathman/):
```sh
webi pathman
pathman list
```
@@ -58,17 +59,14 @@ These are the files that are installed when you use [webinstall.dev](/):
```sh
# Mac, Linux
~/.local/bin/webi
~/.local/bin/pathman
~/.local/opt/pathman-*
# Windows
~/.local/bin/webi.bat
~/.local/bin/webi-pwsh.ps1
```
Assuming that you don't use `pathman` for anything else, you can safely remove
all of them. If you use [webinstall.dev](/) again in the future they will be
reinstalled.
You can safely remove all of them. If you use [webinstall.dev](/) again in the
future they will be reinstalled.
Additionally, these files may be modified to update your `PATH`: