Update connect.py

修正vim颜色
pull/20/head
蓝枫 2015-10-01 16:25:17 +08:00
parent 6168ab270f
commit 949065be2c
1 changed files with 1 additions and 1 deletions

View File

@ -258,7 +258,7 @@ def connect(username, password, host, port, login_name):
"""
Connect server.
"""
ps1 = "PS1='[\u@%s \W]\$ '\n" % host
ps1 = "PS1='[\u@%s \W]\$ ' && TERM=xterm && export TERM\n" % host
login_msg = "clear;echo -e '\\033[32mLogin %s done. Enjoy it.\\033[0m'\n" % host
# Make a ssh connection