mirror of
https://codeberg.org/vlw/dotfiles.git
synced 2025-09-13 19:03:40 +02:00
feat(bash): add shell prompt colors (#35)
Reviewed-on: https://codeberg.org/vlw/dotfiles/pulls/35
This commit is contained in:
parent
fba317b20c
commit
443c60578c
1 changed files with 3 additions and 0 deletions
|
@ -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)
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue