Skip to content

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

unipath

unipath is a small Swift command line tool for keeping one PATH list across fish, zsh, and bash.

It stores managed entries in:

~/.config/unipath/paths

Then each shell can load that list at startup:

unipath env fish | source
eval "$(unipath env sh)"

Warning

This is a personal project, mainly built for my own shell setup. It can modify shell startup files if you run unipath init, so read the output first and use it at your own risk.

Bug reports and contributions are welcome.

Basic use

unipath import --home-relative --dedupe
unipath add --move ~/.local/bin
unipath remove ~/.bun/bin
unipath list --expanded
unipath doctor

unipath import snapshots the current PATH. By default it keeps paths as they appear. Use --home-relative to store paths under your home directory as ~, and --dedupe to remove duplicate entries.

Build

swift build
swift test
swift build -c release

About

A cross-shell universal path manager.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages