Re: what PS1 should really be

Daniel L Newhouse <[email protected]> Fri, 02 Jul 2021 03:08:41 -0500
Newsgroups alt.comp.cygwin
Organization Forte - www.forteinc.com
Message-ID <[email protected]>
On Tue, 30 Mar 2021 12:11:50 -0500, Daniel L Newhouse
<[email protected]> wrote:

"\ s-\ v\ $"

Cameron Newham. Learning the bash Shell (In a Nutshell (O'Reilly)) (p.
106). O'Reilly Media. Kindle Edition. 



>On Tue, 30 Mar 2021 12:07:45 -0500, Daniel L Newhouse
><[email protected]> wrote:
>
>Oopsi, you need to add a $ to the end and that is as good as it gets
>
> "\a\s-\v\w$" 
>
>>The command prompt should really be "\a\s-\v\w" to give the absolute
>>directory at the prompt when outside the home directory.  The "\a" 
>>switch is obscure.