NNBnh / pathshortener

✂️ File system's path shortener

Home Page:https://github.com/info-mono/pathshortener

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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

About

✂️ File system's path shortener

https://github.com/info-mono/pathshortener

License:GNU General Public License v3.0


Languages

Language:Shell 89.9%Language:Makefile 10.1%