diff options
-rw-r--r-- | home/.bashrc | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/home/.bashrc b/home/.bashrc index 620ea76..cc5f089 100644 --- a/home/.bashrc +++ b/home/.bashrc | |||
@@ -32,6 +32,8 @@ PS1_COLOR_RED="\[\e[91m\]" | |||
32 | PS1_COLOR_YELLOW="\[\e[33m\]" | 32 | PS1_COLOR_YELLOW="\[\e[33m\]" |
33 | PS1_COLOR_BLUE="\[\e[94m\]" | 33 | PS1_COLOR_BLUE="\[\e[94m\]" |
34 | PS1_COLOR_CYAN="\[\e[96m\]" | 34 | PS1_COLOR_CYAN="\[\e[96m\]" |
35 | PS1_BLINK_ON="\E[5m" | ||
36 | PS1_BLINK_OFF="\E(B\E\m" | ||
35 | 37 | ||
36 | if [[ "$(id -u)" == 0 ]]; then # if root | 38 | if [[ "$(id -u)" == 0 ]]; then # if root |
37 | PS1_COLOR_MAIN=$PS1_COLOR_RED # set main color red | 39 | PS1_COLOR_MAIN=$PS1_COLOR_RED # set main color red |
@@ -71,7 +73,7 @@ parse_git_branch() { | |||
71 | PS1+="$PS1_COLOR_MAIN[$PS1_COLOR_RESET" # [ | 73 | PS1+="$PS1_COLOR_MAIN[$PS1_COLOR_RESET" # [ |
72 | PS1+="\$(parse_git_branch) " # (BRANCH) | 74 | PS1+="\$(parse_git_branch) " # (BRANCH) |
73 | PS1+="$PS1_COLOR_CYAN\w$PS1_COLOR_RESET" # DIR | 75 | PS1+="$PS1_COLOR_CYAN\w$PS1_COLOR_RESET" # DIR |
74 | PS1+="$PS1_COLOR_MAIN] > $PS1_COLOR_RESET" # ] > | 76 | PS1+="$PS1_COLOR_MAIN] $PS1_BLINK_ON > $PS1_BLINK_OFF $PS1_COLOR_RESET" # ] > |
75 | ######################################################################## | 77 | ######################################################################## |
76 | 78 | ||
77 | 79 | ||