How To: set PS1 to show users "current" directory?
Christophe Wolfhugel
wolf at grasp1.univ-lyon1.fr
Wed Apr 17 06:34:29 AEST 1991
Ed> Under the ksh, you can use
Ed> PS1='${PWD}> '
Under csh this could be:
alias cd 'cd \!*;set prompt="`env LOGNAME`@`hostname`:$cwd> "'
Could be added to the FAQ... Don't move I'll send it to the person who proposed
to maintain the FAQ database.
--
Christophe Wolfhugel (on irc: Zolf) | Email: wolf at grasp1.univ-lyon1.fr
INSA Lyon - Departement Informatique | "Ecole publique, ecole fauchee. Encore"
69621 Villeurbanne Cedex | "une tradition francaise dont on se"
France | "passerait bien."
More information about the Comp.unix.aix
mailing list