mirror of
https://github.com/webinstall/webi-installers.git
synced 2026-08-18 19:46:59 +00:00
fix: replace leftover 'pathman add' with 'webi_path_add'
This commit is contained in:
+1
-1
@@ -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
@@ -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
@@ -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
@@ -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`:
|
||||
|
||||
|
||||
Reference in New Issue
Block a user