Update – Sorry, while the patch below works, it’s NOT needed to get that functionality!! GNU bash can do that without modifications. I don’t know why I missed that before:-( Simply add a ${VAR} into the single quotes when you define the PS1! $ PS1=’\u@${FOO}\$ ‘ marcow@YY$ FOO=XX marcow@XX$ Sorry for the confusion — Marco […]