Fighting path reading fatigue one path at a time! The revolution starts now!
What problem does this solve?
It makes it easier to read a long path. It'll save you approximately 6ms* each time you try to read a path with your eyes, and comprehend it with your brain.
It does this by applying two types of transformations:
- search and replace (these are set in
- intelligent(?) directory truncation (this can be adjusted with the
What are the limitations?
You need to use the
» char to 'prevent' that path segment from being truncated. It's hardcoded!
How do I execute it?
sodiumSierraStrawberry /your/path/goes/here/example --limit 20
The above should output:
Add such a file at
[ [ "/home/chris" , "~" ], [ "/home/chris/Projects" , "»Projects" ] ]
Copy the static binary (if you trust me!):
wget https://github.com/chrissound/SodiumSierraStrawberry/releases/download/v1/sodiumSierraStrawberry mv sodiumSierraStrawberry ~/.local/bin/
Wtf no, I'll compile it myself.
You'll need to know how to compile Haskell projects:
*Terms and conditions apply