mirror of
https://codeberg.org/vlw/dotfiles.git
synced 2025-09-13 19:03:40 +02:00
feat(bash): add shell prompt colors
This commit is contained in:
parent
fba317b20c
commit
83bb8603fd
1 changed files with 3 additions and 0 deletions
|
@ -3,6 +3,9 @@ if [ -f ~/.bashrc ]; then
|
|||
. ~/.bashrc
|
||||
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=$(tty)
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue