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.
shto 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/pathshortenerFor bpkg user:
bpkg install NNBnh/pathshortenerFor Basher user:
basher install NNBnh/pathshortenerIf you can and want to port pathshortener to other package managers, feel free to do so.
Run 'pathshortener' in the terminal:
pathshortener PATHSSpecial thanks to:
Made with ❤️ by NNB