When I enter in whatever flatpak application sandbox with:
flatpak run --command=sh APP-ID
I can no longer see the nice prompt which made clear I was inside the flatpak and not in my regular system.
Is it a known bug or I may have some misconfiguration?
I’m on Fedora 33 but I’m experiencing this in Fedora 32 as well for some time.
Ooops, the error was obvious. I was redefining PS1 in my .bashrc (for git):
export PS1='[\u@\h \W$(declare -F __git_ps1 &>/dev/null && __git_ps1 " (%s)")]\$ '
As soon as I comment these lines and reload the file, the nice prompt comes back again for any app.
Here’s an example:
$ flatpak run --command=sh org.gnome.Tau
[📦 org.gnome.Tau ~]$
This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.