Re: [expert] getting set prompt=$p$g functionality in bash

2000-01-31 Thread John Aldrich
On Wed, 26 Jan 2000, you wrote: Hi, Where would I put the Linux equivalent to the above dos statement in order to get a prompt showing the current directory ($p) and the greater than ($g) symbol? Is there some documentation as to all of the options I can put into my bash prompt? man bash

RE: [expert] getting set prompt=$p$g functionality in bash

2000-01-28 Thread Al Smith
Not really. SET is when you want to set a variable of some sort that isn't seen to the user. Only to the shell. The export command is something that the user will see and the shell will recognize: example: export PS1= this would set your primary prompt export alias = export that alias. or

RE: [expert] getting set prompt=$p$g functionality in bash

2000-01-27 Thread Andy Thomas
you guys are awesome... thanks for the responses everyone so export in linux is analogous to set in dos?... if it's more complicated than that just let me know and i'll go to the docs. Thanks Again Andy

Re: [expert] getting set prompt=$p$g functionality in bash

2000-01-26 Thread David Nordlund
On Wed, 26 Jan 2000, Andy Thomas wrote: Where would I put the Linux equivalent to the above dos statement in order to get a prompt showing the current directory ($p) and the greater than ($g) symbol? Is there some documentation as to all of the options I can put into my bash prompt? (you

Re: [expert] getting set prompt=$p$g functionality in bash

2000-01-26 Thread Larry Sword
David Nordlund wrote: On Wed, 26 Jan 2000, Andy Thomas wrote: Where would I put the Linux equivalent to the above dos statement in order to get a prompt showing the current directory ($p) and the greater than ($g) symbol? Is there some documentation as to all of the options I can put

Re: [expert] getting set prompt=$p$g functionality in bash

2000-01-26 Thread R_Yeo
On Thu, 27 Jan 2000, Andy Thomas fingered: Hi, Where would I put the Linux equivalent to the above dos statement in order to get a prompt showing the current directory ($p) and the greater than ($g) symbol? Is there some documentation as to all of the options I can put into my bash prompt?

Re: [expert] getting set prompt=$p$g functionality in bash

2000-01-26 Thread Ian Douglas
in /etc/bashrc, look for the line that says PS1 and set it to the following: PS1="\u \w " That will give you something like: jsmith /etc/rc.d _ the next time you login. -id y