lilypond-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Question on LilyDev3 mkosi/debian/mkosi.postinst script


From: Dan Eble
Subject: Re: Question on LilyDev3 mkosi/debian/mkosi.postinst script
Date: Fri, 19 Nov 2021 17:03:22 -0500

On Nov 19, 2021, at 14:37, John Wheeler <wheelerwjx9@runbox.com> wrote:
> I have used the .bashrc script extracted from 
> LilyDev3/mkosi/debian/mkosi.postinst file in the past to set up a user for 
> LilyPond development work and the PS1 value seemed to work. This morning I 
> tried to do that again on a new machine and the PS1 value does not work 
> correctly.
> 
> The variable is set in a line:
> 
> export PS1='[\u@\h:\W\$(declare -F __git_ps1 &>/dev/null && __git_ps1 " 
> (%s)")]\$ '
> 
> where the substring ":\W\$(declare" did not have the \ before the $ in the 
> earlier version.
> 
> Now, I am seeing the (declare -F ...") on my command line.
> 
> I am wondering if the $ needs to be doubled, ie, ":\W\$$(declare" so that the 
> "(declare" works correctly?
> 
>                                      
> Thank you,
> 
> John Wheeler
> 



reply via email to

[Prev in Thread] Current Thread [Next in Thread]