Skip to content

Latest commit

 

History

History
14 lines (8 loc) · 473 Bytes

README.md

File metadata and controls

14 lines (8 loc) · 473 Bytes

bash-dir-collapse

Add a smartly condensed current working directory to the bash prompt

The prompt normally looks like:

But once the current directory gets overly long it will start to collapse sections into two letters. For example the directory "~/Library/Caches/Adobe/Flash Player/AssetCache" would look like:

To use it copy the contents of bashrc.example.sh into your local ~/.bashrc