feat(bash): add shell prompt colors

This commit is contained in:
Victor Westerlund 2025-09-12 10:26:06 +02:00
parent fba317b20c
commit 83bb8603fd
Signed by: vlw
GPG key ID: D0AD730E1057DFC6

View file

@ -3,6 +3,9 @@ if [ -f ~/.bashrc ]; then
. ~/.bashrc . ~/.bashrc
fi fi
# 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 GPG_TTY for signing stuff with gpg # Export GPG_TTY for signing stuff with gpg
export GPG_TTY=$(tty) export GPG_TTY=$(tty)