fix(bash): more pleasing shell prompt colors

This commit is contained in:
Victor Westerlund 2025-09-12 17:19:55 +02:00
parent 443c60578c
commit ed27630d0c
Signed by: vlw
GPG key ID: D0AD730E1057DFC6

View file

@ -4,7 +4,7 @@ if [ -f ~/.bashrc ]; then
fi fi
# Enable shell prompt colors (will not apply to command prompt). # Enable shell prompt colors (will not apply to command prompt).
export PS1='\[\033[1;36m\]\u\[\033[1;31m\]@\[\033[1;32m\]\h:\[\033[1;35m\]\w\[\033[1;31m\]\$\[\033[0m\] ' export PS1='\[\e[38;5;46m\]\u\[\e[38;5;2m\]@\[\e[38;5;46m\]\h\[\e[38;5;2m\]:\[\e[38;5;33m\]\w\[\033[0m\]$ '
# Export GPG_TTY for signing stuff with gpg # Export GPG_TTY for signing stuff with gpg
export GPG_TTY=$(tty) export GPG_TTY=$(tty)