Some minor fixes
This commit is contained in:
parent
9e8334698c
commit
0ddc13eaeb
3 changed files with 9 additions and 5 deletions
|
@ -29,7 +29,7 @@ if [[ "`tput colors`" == "256" ]] || [[ "`tput colors`" == "88" ]] ; then
|
|||
usercolor_mod=28
|
||||
|
||||
fi
|
||||
if [ ! -z $SSH_CLIENT ]; then
|
||||
if [ ! -z $SSH_CLIENT ] || [ ! -z $SSH_CONNECTION ]; then
|
||||
usercolor_base=$((usercolor_base + usercolor_mod))
|
||||
hostcolor="%{${FG[226]}%}"
|
||||
else
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue