mirror of
https://github.com/webinstall/webi-installers.git
synced 2026-04-06 18:36:50 +00:00
Renames: - github_repo → github_releases (back-compat kept) - github_source → github_sources (back-compat kept) - gitea_repo → gitea_releases (back-compat kept) New keys: - gitea_sources, gitlab_releases, gitlab_sources All keys now accept either owner/repo shorthand or full URLs: - github_releases = sharkdp/bat - github_releases = https://github.com/sharkdp/bat - gitea_releases = https://git.rootprojects.org/root/pathman Defaults: github → github.com, gitlab → gitlab.com. Gitea has no default (self-hosted only). Updated all 73 releases.conf files from github_repo to github_releases.
title, homepage, tagline
| title | homepage | tagline |
|---|---|---|
| Pathman | https://git.rootprojects.org/root/pathman | Pathman: cross-platform PATH management for bash, zsh, fish, cmd.exe, and PowerShell. |
To update or switch versions, run webi pathman@stable (or @v0.5, @beta,
etc).
Cheat Sheet
Manages PATH on various OSes and shells
- Mac, Windows, Linux
- POSIX Shell, Bash, Zsh, Fish
- Command, Powershell
pathman add ~/bin/
Saved changes to~/.config/envman/PATH.envCopy, paste, and run the following command:PATH="$HOME/bin:$PATH"(newly opened terminal windows will have the updated PATH)
Windows Users: use POSIX-style / (for paths) and ~ (for
%USERPROFILE%) - they'll be adjusted automatically.
Table of Contents
- Files
- Add, Remove, List, etc
Files
These are the files / directories that are created and/or modified with this install:
~/.config/envman/PATH.env
~/.local/bin/pathman
# 'source ~/.config/envman/PATH.env' will be added to
~/.profile
~/.bashrc
~/.zshrc
~/.config/fish/config.fish
Usage
pathman help
pathman add ~/.local/bin
pathman remove ~/.local/bin
pathman list
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