Simple tool to shorten the directory names in the path
cargo install --git https://github.com/pestanko/rs-path-shortener
It will install the shorten-path
to the $HOME/.cargo/bin
(you need to add it to the $PATH
)
To build and "install" the shortener to the $HOME/.local/bin
please execute the install script.
./install.sh
Env variables to configure the shortener:
export SHORTHEN_DIR_PATH_LIMIT=1 # limit the length of the dir names