+prompt.sh

This commit is contained in:
T0MuX 2025-01-08 07:25:05 +01:00
parent 1011bb9117
commit 22cb3826e6

10
bashrc.d/prompt.sh Normal file
View file

@ -0,0 +1,10 @@
# PROMPT
# FG orange 38;5;208m
# FG noir + BG orange 48;5;208;38;5;16m
# FG noir + BG jaune 48;5;214;38;5;16m
# FG noir + BG bleu 48;5;39;38;5;16m
# FG bleu 38;5;39m
PS1=$'\n\e[0m\e[38;5;208m\uE0B6\e[48;5;208;38;5;16m\u \
\e[48;5;214;38;5;16m \uEA83 \w \
\e[48;5;39;38;5;16m $(date +%H:%M:%S) [$?]\e[0m\e[38;5;39m\uE0B4\e[0m '