prwd is a tool to print your working directory in a reduced form for your shell prompt. The path can be shortened using aliases, a maximum length, a filler character or in the style of a newsgroup. prwd can also read your branch in git and mercurial repositories.
|Tags||Shells Tool Utilities Command Line command line meta data|
|Licenses||ISC BSD Style|
|Operating Systems||Linux OpenBSD FreeBSD NetBSD|
Release Notes: This release adds "hostname" and "uid_indicator" configuration flags, allowing prwd to completely replace the default PS1 behavior of most shells, uses the environment PWD as a reference if possible to display symlinked directories properly, checks the validity of the directories when dumping environment variables (when using -a), and allows one level of nested aliases.
Release Notes: This release adds an -a flag that prints all the aliases starting with '$' in a format that can be passed to eval with eval `prwd -a`. It allows aliases to be used with other tools via shell variables.
Release Notes: This release adds support for mercurial and git repository branches and fixes a number of bugs.
Release Notes: This initial release has Unicode support, newsgroup style cropping, clean cutting, maximum working-directory length, and a basic test suite.