Skip to content

Commit

Permalink
Improve bash prompt
Browse files Browse the repository at this point in the history
  • Loading branch information
amontalenti committed Jun 15, 2020
1 parent dace5de commit 1b64153
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions .bash_prompt
Original file line number Diff line number Diff line change
Expand Up @@ -17,10 +17,12 @@ SHORT='\h'
# UC: username color
# LC: location/cwd color
# HD: hostname display (\h vs \H)
# PP: Prompt color
# Defaults:
UC=$GREEN
LC=$GRAY
LC=$CYAN
HD=$FULL
PC=$WHITE

# Prompt function because PROMPT_COMMAND is awesome
function set_prompt() {
Expand Down Expand Up @@ -50,7 +52,7 @@ function set_prompt() {
fi

# Dollar/pound sign
end="${LC}\$${NIL} "
end="${PC}\$${NIL} "

# Virtual Env
if [[ $VIRTUAL_ENV != "" ]]
Expand Down

0 comments on commit 1b64153

Please sign in to comment.