diff --git a/packages/unicorn-desktop-git/unicorn-desktop-git.pacscript b/packages/unicorn-desktop-git/unicorn-desktop-git.pacscript index a346410e56..319779d827 100644 --- a/packages/unicorn-desktop-git/unicorn-desktop-git.pacscript +++ b/packages/unicorn-desktop-git/unicorn-desktop-git.pacscript @@ -69,4 +69,11 @@ post_install() { fi cp /etc/skel/.lightpad/* "${homedir}/.lightpad" papirus-folders -C violet --theme Papirus-Dark + if ! grep -Eq 'PS1=.* # Rhino' /etc/skel/.bashrc; then + cat <<"EOF" | tee -a /etc/skel/.bashrc > /dev/null +# comment to remove the `git status` checking '*' and '+' text in the prompt +export GIT_PS1_SHOWDIRTYSTATE=1 +PS1='$(__git_ps1 "(%s) ")\[\e[1m\][\[\e[38;5;82m\]\w\[\e[39m\]] \[\e[38;5;219m\]\u\[\e[38;5;231m\]@\[\e[38;5;199m\]\h \[\e[38;5;255m\]\$ \[\e[0m\]' # Rhino +EOF + fi } diff --git a/packages/unicorn-mobile-git/unicorn-mobile-git.pacscript b/packages/unicorn-mobile-git/unicorn-mobile-git.pacscript index 9be634c9f8..79c9f1e300 100644 --- a/packages/unicorn-mobile-git/unicorn-mobile-git.pacscript +++ b/packages/unicorn-mobile-git/unicorn-mobile-git.pacscript @@ -85,4 +85,11 @@ post_install() { mkdir -p "${homedir}/.local/share" fi cp -r "/etc/skel/.local/share/onboard" "${homedir}/.local/share" + if ! grep -Eq 'PS1=.* # Rhino' /etc/skel/.bashrc; then + cat <<"EOF" | tee -a /etc/skel/.bashrc > /dev/null +# comment to remove the `git status` checking '*' and '+' text in the prompt +export GIT_PS1_SHOWDIRTYSTATE=1 +PS1='$(__git_ps1 "(%s) ")\[\e[1m\][\[\e[38;5;82m\]\w\[\e[39m\]] \[\e[38;5;219m\]\u\[\e[38;5;231m\]@\[\e[38;5;199m\]\h \[\e[38;5;255m\]\$ \[\e[0m\]' # Rhino +EOF + fi }