File system's path shortener
pathshortener
is a file system's path shortener written in portable sh
inspired by Fish's prompt_pwd
command and Starship's Directory module.
sh
to process
- Option 1: using
curl
curl https://raw.githubusercontent.com/NNBnh/pathshortener/main/bin/pathshortener > ~/.local/bin/pathshortener
chmod +x ~/.local/bin/pathshortener
- Option 2: using
git
git clone https://github.com/NNBnh/pathshortener.git ~/.local/share/pathshortener
ln -s ~/.local/share/pathshortener/bin/pathshortener ~/.local/bin/pathshortener
For bpkg
user:
bpkg install NNBnh/pathshortener
For Basher user:
basher install NNBnh/pathshortener
If you can and want to port pathshortener to other package managers, feel free to do so.
Run 'pathshortener' in the terminal:
pathshortener PATHS
Special thanks to:
Made with ❤️ by NNB