Lost custom bash prompt (PS1) after update

Hi,

I had customized .bashrc, for setting up the PS1 prompt to include git branch and docker machine name.
Yesterday the swupd got an update and the prompt behavior suddenly changed.
This update makes it difficult to maintain my routine workflow (which worked the same for 4-5 years). I don’t want to introduce Clear Linux specific exceptions at shell level, or when I do, I dont want to accept to expect an update to break it.

Kind Regards,

Hi mcku,

It’s due to an recent patch on the 50-prompt.sh in /usr/share/defaults/etc/profile.d directory.

I’ve send a patch to the device mailist. Currently you may add this to your bashrc:

unset PROMPT_COMMAND

3 Likes