From 8edd080c109edf1f576acbae693b362fa357c75b Mon Sep 17 00:00:00 2001 From: 10sr <8slashes+git@gmail.com> Date: Mon, 17 Sep 2012 20:11:40 +0900 Subject: [PATCH] big update of PS1 --- bashrc | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/bashrc b/bashrc index 9b3c59d..ee4b6c1 100755 --- a/bashrc +++ b/bashrc @@ -616,10 +616,9 @@ then fi __my_cdef="\[\e[0m\]" fi -_PS1="\ -${__my_c4}:: ${__my_cdef}[${__my_c1}\w/${__my_cdef}<${__my_c3}\${OLDPWD}${__my_cdef}]\$(__my_ps1_scale)\$(__my_ps1_tmux)\$(__my_ps1_git)\$(__my_ps1_bttry)\$(__my_ps1_ipaddr)\$(__my_ps1_moc)\n\ -${__my_c4}:: ${__my_c2}\u@\H${__my_cdef} \D{%a, %d %b %Y %T %z} ${SHELL} \V\n\ -${__my_c4}:: ${__my_cdef}shlv:${SHLVL} cnum:\# jobs:\j last:\$? \$ " +_PS1="$(__my_ps1_save_last)\ +${__my_c4}:: ${__my_cdef}[${__my_c2}\u@\H${__my_cdef}:${__my_c1}\w/${__my_cdef}]\$(__my_ps1_scale)\$(__my_ps1_tmux)\$(__my_ps1_git)\$(__my_ps1_bttry)\$(__my_ps1_ipaddr)\$(__my_ps1_moc)\n\ +${__my_c4}:: ${__my_cdef}l${SHLVL}n\#j\js\$? \D{%T} \$ " PS1=$_PS1 __my_set_title(){