Korn Shell PS1
Hi,
I would like my prompt to have my PWD but with the commands entered on a new line so... /userhome/someuser $ ls the PWD i have got working but can only get /userhome/someuser $ Is it possible to have a newline command in the PS1 variable? Thanks C19 |
In your .bashrc, simply insert
PS1='\w \n \$ ' /edit > I now see you were referring to ksh. The BASH newline is \n - I am not sure how it goes in Korn. |
Hi,
Thanks for the reply however I'm using ksh which doesn't except bash ps1 commands. If I use the i get w n $ in the command line... Thanks C19 |
Look at this one > http://arkiv.netbsd.se/?ml=netbsd-us...6-01&t=1703552
|
Hmmmmm i'm at work and cannot reach that site!
|
All times are GMT -5. The time now is 07:35 PM. |