bash/prompt

This commit is contained in:
Marc Beninca 2023-08-18 21:14:34 +02:00
parent fde55c7c04
commit 52a93c61cc

View file

@ -1,5 +1,5 @@
PS1="\ PS1="\
\t\ \t\
\e[0;31m\${?}\e[0m\ \e[0;31m\${?}\e[0m\
\e[0;32m\u\e[0m\ \e[0;32m\u\e[0m\
@ \e[0;33m\h\e[0m\ @ \e[0;33m\h\e[0m\
@ -8,8 +8,8 @@ if [ "$(type -t __git_ps1)" == 'function' ] ; then
PS1="${PS1} –\e[0;35m\$(__git_ps1)\e[0m" PS1="${PS1} –\e[0;35m\$(__git_ps1)\e[0m"
fi fi
PS1="${PS1} PS1="${PS1}
\e[0;36m\${PWD}\e[0m \e[0;36m\${PWD}\e[0m
" "
PS2="\ PS2="\
" "