Thread
:
showing full path in command prompt unix
View Single Post
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
View Public Profile
Find More Posts by salsbury