mirror of
https://github.com/ivuorinen/dotfiles.git
synced 2026-01-26 11:14:08 +00:00
* fix(test): ensure bats file list uses xargs * docs(readme): use yarn for testing instructions * fix(test): ensure pipelines fail properly * docs(alias): fix table header --------- Signed-off-by: Ismo Vuorinen <ismo@ivuorinen.net>
602 B
602 B
x-path
Manage entries in the PATH variable through subcommands.
Usage
x-path <command> <directory1> [directory2 ...]
Commands
append/a– Append directories toPATHprepend/p– Prepend directories toPATHremove– Remove directories fromPATHcheck– Validate directories (default: all inPATH)
Set VERBOSE=1 for progress output.
Examples
# Prepend /opt/bin to PATH
x-path prepend /opt/bin
# Remove /usr/local/bin from PATH
x-path remove /usr/local/bin