On 04-Feb-99 Adam Christensen wrote:
> Hi there,
> 
> A simple question: How do I get the bash-prompt to show more of the current
> path? Like in:
>                hostname:~/src/linux/Documentation#
> instead of:
>                hostname: Documentation#

This portion of the prompt string is set in the PS1 shell variable. The value
"\h:\w\$" should provide you with the desired prompt string and can be set by
running:

        export PS1="\h:\w\$"

For more details, refer to the section on "Shell Variables" and "Prompting" in
the bash man page.

Cort
[EMAIL PROTECTED]

Reply via email to