Fix bug
This commit is contained in:
parent
2f3a390f5a
commit
5aba88e0be
4
bashrc
4
bashrc
|
@ -58,9 +58,9 @@ fi
|
||||||
|
|
||||||
if [ "$color_prompt" = yes ]; then
|
if [ "$color_prompt" = yes ]; then
|
||||||
if [[ -n "$SSH_CLIENT" ]] || [[ -n "$SSH2_CLIENT" ]]; then
|
if [[ -n "$SSH_CLIENT" ]] || [[ -n "$SSH2_CLIENT" ]]; then
|
||||||
color="\033[1;35m"
|
|
||||||
else
|
|
||||||
color="\033[1;32m"
|
color="\033[1;32m"
|
||||||
|
else
|
||||||
|
color="\033[1;35m"
|
||||||
fi
|
fi
|
||||||
PS1="${color}╭── \u\033[33m::\033[34m\w\033[0m\n${color}╰▶ \033[0m"
|
PS1="${color}╭── \u\033[33m::\033[34m\w\033[0m\n${color}╰▶ \033[0m"
|
||||||
else
|
else
|
||||||
|
|
Loading…
Reference in New Issue