/pathshortener

✂️ File system's path shortener

Primary LanguageShellGNU General Public License v3.0GPL-3.0

pathshortener

File system's path shortener

License: GPL-3.0 Development completed

💡 About

pathshortener is a file system's path shortener written in portable sh inspired by Fish's prompt_pwd command and Starship's Directory module.

🚀 Setup

🧾 Dependencies

  • sh to process

📥 Installation

🔧 Manually

  • 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

📦 Package manager

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.

⌨️ Usage

Run 'pathshortener' in the terminal:

pathshortener PATHS

💌 Credits

Special thanks to:






Made with ❤️ by NNB

Buy Me a Coffee