Not a script perse... But this runs behind the scenes to truncate excessively long paths in the terminal and present git branch and status at a glance.<p>For example<p><pre><code> (master):~/p/s/my-app$
(mobile-css):~/p/s/m/css$
</code></pre>
<a href="https://gist.github.com/tbirrell/459a0c65a4dbfcfe3de4669498f11db5" rel="nofollow">https://gist.github.com/tbirrell/459a0c65a4dbfcfe3de4669498f...</a>