prwd

1.8 ISC License (ISCL)    
  UNRATED

description

download

specs

changelog

prwd is a command-line tool that prints a reduced working directory for your prompt shell (PS1). The path can be shortened using any of the following:

 * aliases
 * max length and filler characters
 * newsgroup style

All of this is driven by your ~/.prwdrc file.

The reason for prwd is that most shells read $PS1 differently and have a very rigid way to display the current working directory. prwd allows you to have one way to handle the display of your working directory and use it across multiple shells.

The syntax of the configuration files is described below, lines starting with '#' are ignored.

Installation:


make
sudo make install


Setup:

This will depend on your shell, but in general the following will do:

export PS1='h:`prwd`p '

Note that the single quote matters since you want to keep the command within the variable as-is (unresolved).
read more   
Last updated on August 27th, 2013
prwd

0 User reviews so far.

SUBMIT
Reduced working directory

  352 downloads

#reduced directory #working directory #reduced #working #directory #shell