diff --git a/gpg/install.sh b/gpg/install.sh index b4b8594..22385eb 100644 --- a/gpg/install.sh +++ b/gpg/install.sh @@ -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" diff --git a/pyenv/install.sh b/pyenv/install.sh index 6c0323f..6f67147 100644 --- a/pyenv/install.sh +++ b/pyenv/install.sh @@ -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." } diff --git a/rustlang/install.sh b/rustlang/install.sh index 58e97ee..ae31c13 100644 --- a/rustlang/install.sh +++ b/rustlang/install.sh @@ -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 diff --git a/webi/README.md b/webi/README.md index 57f9b3b..5ad3043 100644 --- a/webi/README.md +++ b/webi/README.md @@ -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`: