summaryrefslogtreecommitdiff
path: root/shell
diff options
context:
space:
mode:
authorivan-boikov <ik.boikov.public@protonmail.com>2024-09-05 21:28:35 +0200
committerivan-boikov <ik.boikov.public@protonmail.com>2024-09-05 21:28:35 +0200
commit092763a2149898ab6ae71778f9b18ef6904e2750 (patch)
treebad52e1cafdc00e5828b78ead26963c3a06477c1 /shell
parent982c4a695736c6ea251f28046fb435eaf003c1c7 (diff)
Fixed PS1
Diffstat (limited to 'shell')
-rw-r--r--shell/.config/shell/profile2
1 files changed, 1 insertions, 1 deletions
diff --git a/shell/.config/shell/profile b/shell/.config/shell/profile
index 8157210..a256bcd 100644
--- a/shell/.config/shell/profile
+++ b/shell/.config/shell/profile
@@ -178,7 +178,7 @@ source "${XDG_CONFIG_HOME:-$HOME/.config}/shell/pass-completion"
parse_git_branch() {
git branch 2> /dev/null | sed -e '/^[^*]/d' -e 's/* \(.*\)/ [\1]/'
}
-export PS1="\[\e[01;32m\]\u@\h \[\e[01;34m\]\w\e[01;31m\]\[\$(parse_git_branch)\[\e[00m\] \[\e[01;32m\]\$\[\e[00m\] "
+export PS1="\[\e[01;32m\]\u@\h \[\e[01;34m\]\w\[\e[01;31m\]\$(parse_git_branch)\[\e[00m\] \$ "
# start graphical server on user's current tty if not already running.
[ "$(tty)" = "/dev/tty1" ] && ! pidof -s Xorg >/dev/null 2>&1 && exec startx "$XINITRC"