prwd

Reduced working directory
Download

prwd Ranking & Summary

Advertisement

  • Rating:
  • License:
  • ISC License
  • Price:
  • FREE
  • Publisher Name:
  • Bertrand Janin
  • Publisher web site:
  • http://tamentis.com/projects/tbclock/

prwd Tags


prwd Description

Reduced working directory 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:makesudo make installSetup: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).


prwd Related Software