Skip to content

jkern888/bash-dir-collapse

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 

Repository files navigation

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

About

Add a smartly condensed current working directory to the bash prompt

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages