How do we have PS1 newline \n
being conditional on whether previous Bash variable's one, as this cannot succeed:
foo=
NEWLINE=
#...
((foo)) && {
THELINE=foobar
NEWLINE='\n'
}
PS1='$(echo $THELINE)$NEWLINE\w-$ '
if foo not 0 then THELINE is "foobar" with a newline, otherwise whatever THELINE is it musn't be given \n
sincere useful help valuable
`$.............``