X-Git-Url: https://git.josue.xyz/?a=blobdiff_plain;f=pathman%2FREADME.md;h=706b859c84903d786a30db3f2063bbab8ec5536f;hb=b4358b80d203d961f0178cb0f49741395b7180d6;hp=b1fb727b01b109d20f9d8a251255c0fd48e63f99;hpb=039ef9b8673f65a3bbce7fb33e38969626c576b9;p=webi-installers%2F.git diff --git a/pathman/README.md b/pathman/README.md index b1fb727..706b859 100644 --- a/pathman/README.md +++ b/pathman/README.md @@ -3,13 +3,28 @@ title: Pathman homepage: https://git.rootprojects.org/root/pathman tagline: | Pathman: cross-platform PATH management for bash, zsh, fish, cmd.exe, and PowerShell. -description: | - Manages PATH on various OSes and shells - - Mac, Windows, Linux - - Bash, Zsh, Fish - - Command, Powershell --- +## Updating `pathman` + +```bash +webi pathman +``` + +## Cheat Sheet + +Manages PATH on various OSes and shells + +- Mac, Windows, Linux +- Bash, Zsh, Fish +- Command, Powershell + +```bash +pathman help +``` + +### Usage + ```bash pathman add ~/.local/bin ``` @@ -18,6 +33,26 @@ pathman add ~/.local/bin pathman remove ~/.local/bin ``` +Note: Even on Windows 10 it is best to use Unix-style `/` paths and `~` for +`%USERPROFILE%`. + ```bash pathman list ``` + +```txt +pathman-managed PATH entries: + + $HOME/.local/bin + $HOME/.local/opt/go/bin + $HOME/go/bin + $HOME/.local/opt/node/bin + +other PATH entries: + + /usr/local/bin + /usr/bin + /bin + /usr/sbin + /sbin +```