change git promt color scheme

This commit is contained in:
SALVI Jérémie
2024-08-16 19:22:40 +02:00
parent 4155046ee7
commit 7ecf7d45b4
2 changed files with 10 additions and 4 deletions

1
TODO
View File

@@ -1,6 +1,7 @@
install steam, wine and lib32 multilib
pipwire-pulseaudio as root to X11
configure ranger
debug systray refresh
## Hyprland
wofi
foot

View File

@@ -29,10 +29,15 @@ fi
. /usr/local/share/dotfiles/scripts/git.sh
PS1="\n\[\e[48;5;027m\]  \u \[\e[00m\]\[\e[48;5;033;38;5;027m\]\[\e[00m\]"
PS1+="\[\e[48;5;033m\] \h \[\e[00m\]\[\e[48;5;063;38;5;033m\]\[\e[00m\]"
PS1+="\[\e[48;5;063m\] \w \[\e[00m\]\[\e[48;5;069;38;5;063m\]\[\e[00m\]"
PS1+="\[\e[48;5;069m\] \$(_git)\[\e[00m\]\[\e[38;5;069m\]\[\e[00m\] "
#PS1="\n\[\e[48;5;027m\]  \u \[\e[00m\]\[\e[48;5;033;38;5;027m\]\[\e[00m\]"
#PS1+="\[\e[48;5;033m\] \h \[\e[00m\]\[\e[48;5;063;38;5;033m\]\[\e[00m\]"
#PS1+="\[\e[48;5;063m\] \w \[\e[00m\]\[\e[48;5;069;38;5;063m\]\[\e[00m\]"
#PS1+="\[\e[48;5;069m\] \$(_git)\[\e[00m\]\[\e[38;5;069m\]\[\e[00m\] "
PS1="\n\[\e[30;44m\]  \u \[\e[34;46m\]\[\e[00m\]"
PS1+="\[\e[30;46m\] \h \[\e[36;42m\]\[\e[00m\]"
PS1+="\[\e[30;42m\] \w \[\e[32;45m\]\[\e[00m\]"
PS1+="\[\e[30;45m\] \$(_git)\[\e[00m\]\[\e[35m\]\[\e[00m\] "
# You may comment the following lines if you won't `ls' to be colorized:
eval "$(dircolors)"