diff options
| -rw-r--r-- | bash/.bashrc | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/bash/.bashrc b/bash/.bashrc index 5d0b2c5..e8ff0a6 100644 --- a/bash/.bashrc +++ b/bash/.bashrc | |||
| @@ -12,13 +12,10 @@ fi | |||
| 12 | LC_ALL="en_US.UTF-8" | 12 | LC_ALL="en_US.UTF-8" |
| 13 | # This PS1 is completed at the end, allowing statuses to be included between the directory and closing $ | 13 | # This PS1 is completed at the end, allowing statuses to be included between the directory and closing $ |
| 14 | if [ "$SESSION_TYPE" = "ssh" ]; then | 14 | if [ "$SESSION_TYPE" = "ssh" ]; then |
| 15 | echo "SSH" | ||
| 16 | HOST_COLOR="\[\e[38;5;124m\]" | 15 | HOST_COLOR="\[\e[38;5;124m\]" |
| 17 | else | 16 | else |
| 18 | echo "NON" | 17 | HOST_COLOR="\[\e[38;5;148m\]" |
| 19 | HOST_COLOR="\[\e[38;5;160m\]" | ||
| 20 | fi | 18 | fi |
| 21 | echo ${HOST_COLOR}asdf | ||
| 22 | 19 | ||
| 23 | PS1="[\u@${HOST_COLOR}\h\[\e[m\]:\[\e[36m\]\W\[\e[m\]\[\e[m\]]\[\e[m\]" | 20 | PS1="[\u@${HOST_COLOR}\h\[\e[m\]:\[\e[36m\]\W\[\e[m\]\[\e[m\]]\[\e[m\]" |
| 24 | END_PS1="\$\[\e[m\] " | 21 | END_PS1="\$\[\e[m\] " |