pprom 0.06

pprom is a portable method for defining shell prompts.

  Add it to your Download Basket!

 Add it to your Watch List!

0/5

Rate it!
send us
an update
LICENSE TYPE:
Perl Artistic License 
USER RATING:
2.2/5 13
DEVELOPED BY:
nkuitse
HOMEPAGE:
sourceforge.net
CATEGORY:
ROOT \ Utilities
pprom (pronounced PEE-prom) is a Perl script that enables you to write your shell prompts in a simple shell-independent syntax, "compiling" prompts into the particular form required by the shell you use.

For example, say you want to set a simple prompt such as this:

user@host ~/path/to/the/current/directory >

To get this prompt in bash, you would have to use this syntax:

u@h w >

In csh, tcsh, or zsh, it would be this:

%n@%m %~ >

The pprom syntax for this prompt would be the same for either shell:

@user @at @host @space @cwd @space @gt

You can also use shell-dependent features, if you wish. For example, the symbol @sigil represents the character # (if root) or % (if non-root in csh) or $ (if non-root in bash), and the symbol @shell represents the name of the shell (e.g., bash or zsh).

pprom includes shell-specific configuration files for bash and csh.

Last updated on April 2nd, 2005

#portable method #shell defining #pprom #portable #method #shell

Add your review!

SUBMIT