Projects / prwd

prwd

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
Licenses
Operating Systems
Implementation

Recent releases

  •  25 Aug 2013 21:37

    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.

    •  25 May 2013 15:09

      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.

      •  05 May 2013 03:22

        Release Notes: This release adds support for mercurial and git repository branches and fixes a number of bugs.

        •  09 Dec 2009 04:27

          Release Notes: This initial release has Unicode support, newsgroup style cropping, clean cutting, maximum working-directory length, and a basic test suite.

          Screenshot

          Project Spotlight

          OpenStack4j

          A Fluent OpenStack client API for Java.

          Screenshot

          Project Spotlight

          TurnKey TWiki Appliance

          A TWiki appliance that is easy to use and lightweight.