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

2021-11-20 Thread John Wheeler
On 11/20/2021 5:57 AM, Michael Käppler wrote: The thing is that it is part of a 'heredoc' string, which is written to .bashrc. Without escaping the '$', the shell will evaluate the result of $(declare -F __git_ps1 &>/dev/null && __git_ps1 " (%s)") before writing to .bashrc, which is not what we

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

2021-11-20 Thread Michael Käppler
Hi John, I am responsible for changing the line you mentioned in 'mkosi.postinst'. See https://github.com/fedelibre/LilyDev/pull/14 tl;dr; It did not work the way it was intended before this change (but for you it did work as you copied and pasted it instead of piping it through `cat`) The thing

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

2021-11-19 Thread Dan Eble
On Nov 19, 2021, at 14:37, John Wheeler 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