Kothar Labs Contact Me

Shorter Bash Prompts
Fri, 5 Jun 2009 / blog / bash

I use Java a lot, and the common practice of naming java packages with long URI-derived namespaces often leads to my bash prompt becoming extremely long. Here's a script to display an abbreviated path on the bash prompt.

Comments |