fix(bash): more pleasing shell prompt colors (#36)

Reviewed-on: https://codeberg.org/vlw/dotfiles/pulls/36
This commit is contained in:
Victor Westerlund 2025-09-12 17:20:47 +02:00
parent 443c60578c
commit 5ad2ff1546

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)