Files
vim-ale/pathman/README.md
2020-07-09 11:46:17 +00:00

59 lines
778 B
Markdown

---
title: Pathman
homepage: https://git.rootprojects.org/root/pathman
tagline: |
Pathman: cross-platform PATH management for bash, zsh, fish, cmd.exe, and 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
```
```bash
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
```