Обновить цвета PS1: серая дата/время, жёлтые скобки, красный root, жирный синий путь, жирный зелёный $:
This commit is contained in:
parent
1badb8354e
commit
8a2024e35a
1 changed files with 1 additions and 1 deletions
2
.bashrc
2
.bashrc
|
|
@ -17,7 +17,7 @@ if [ -z "${debian_chroot:-}" ] && [ -r /etc/debian_chroot ]; then
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# ---- theme ----
|
# ---- theme ----
|
||||||
PS1='\[\033[38;5;47m\][\A $(date +%d.%m.%Y)]\n[\[\033[38;5;$(if [ $EUID -eq 0 ]; then echo 199; else echo 69; fi)m\]\u\[\033[38;5;47m\]@\h \w:\$] \[\033[0m\]'
|
PS1='\[\033[0;90m\][\A $(date +%d.%m.%Y)]\n\[\033[0;33m\][\[\033[0m\]\[\033[38;5;$(if [ $EUID -eq 0 ]; then echo 196; else echo 69; fi)m\]\u\[\033[0m\]@\h \[\033[1;34m\]\w\[\033[0m\]\[\033[0;33m\]]\[\033[0m\]\[\033[1;32m\]\$:\[\033[0m\] '
|
||||||
# ---------------
|
# ---------------
|
||||||
|
|
||||||
if [ -x /usr/bin/dircolors ]; then
|
if [ -x /usr/bin/dircolors ]; then
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue