浏览代码

important fix of PS1

pull/1/head
10sr 12 年前
父节点
当前提交
822023215c
共有 1 个文件被更改,包括 5 次插入5 次删除
  1. +5
    -5
      bashrc

+ 5
- 5
bashrc 查看文件

@@ -490,11 +490,11 @@ __my_ps1_jobs(){
}
if test "$TERM" != dumb
then
__my_c1="\e[1;31m" # color for PWD
__my_c2="\e[0;36m" # color for user
__my_c3="\e[1;30m" # color for OLDPWD
__my_c4="\e[1;32m" # color for ::
__my_cdef="\e[0m"
__my_c1="\[\e[1;31m\]" # color for PWD
__my_c2="\[\e[0;36m\]" # color for user
__my_c3="\[\e[1;30m\]" # color for OLDPWD
__my_c4="\[\e[1;32m\]" # color for ::
__my_cdef="\[\e[0m\]"
fi
_PS1="\
${__my_c4}:: ${__my_cdef}[${__my_c1}\w/${__my_cdef}<${__my_c3}\${OLDPWD}${__my_cdef}]\$(__my_ps1_git)\$(__my_ps1_bttry)\$(__my_ps1_ipaddr)\$(__my_ps1_moc)\n\


正在加载...
取消
保存