View Single Post
Old 09-26-2002, 10:25 AM  
salsbury
Confirmed User
 
Join Date: Feb 2002
Location: Seattle
Posts: 1,070
depends on the shell. in bash/ksh you can do that with

PS1='$PWD'\$' '

what this does is it sets PS1 to "$PWD$ ", but the quoting makes it work as you'd expect it to.

put that in your .profile or .bash_profile or .bashrc.
__________________
salsbury is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote