diff --git a/roles/home-cli/files/profile b/roles/home-cli/files/profile index 726420c..081e2f9 100644 --- a/roles/home-cli/files/profile +++ b/roles/home-cli/files/profile @@ -76,7 +76,12 @@ then bind 'set enable-bracketed-paste off' export BASH_ENV="$HOME/.bashrc" - PS1="\[\033[01m\]\u@\h\\$\[\033[00m\] " + if [ $container = flatpak ] + then + _acp_ps1_prefix="*" + fi + PS1="\[\033[01m\]${_acp_ps1_prefix}\u@\h\\$\[\033[00m\] " + unset _acp_ps1_prefix elif [ -n "$ZSH_VERSION" ] then