Unnamed sources report that Adam Christensen said:
> 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#

export PS1="\h:\W"

> 
> Thank you,
> Adam

-- 
Kurt Wall
Informix-Linux FAQ - http://www.xmission.com/~kwall/iolfaq/english/iolfaq.html
Spanish Version  - http://www.xmission.com/~kwall/iolfaq/spanish/iolfaqsp.html
Romanian Version - http://www.xmission.com/~kwall/iolfaq/romanian/iolfaq.htm

Reply via email to