Explorar el Código

fix prompt

pull/1/head
10sr hace 12 años
padre
commit
a01005c865
Se han modificado 1 ficheros con 4 adiciones y 3 borrados
  1. +4
    -3
      bashrc

+ 4
- 3
bashrc Ver fichero

@@ -474,13 +474,14 @@ __my_ps1_jobs(){
if test "$TERM" != dumb
then
__my_c1="\e[1;31m" # color for PWD
__my_c2="\e[36m" # color for user
__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}\${PWD}${__my_cdef}]\$(__my_ps1_bttry)\$(__my_ps1_ipaddr)\n\
${__my_c4}:: ${__my_cdef}${__my_c2}\u@\H${__my_cdef} \D{%a, %d %b %Y %T %z} ${SHELL} \V\n\
_PS1="\
${__my_c4}:: ${__my_cdef}[${__my_c1}\w/${__my_cdef}<${__my_c3}\${PWD}${__my_cdef}]\$(__my_ps1_bttry)\$(__my_ps1_ipaddr)\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} hist:\! jobs:\j last:\$? \$ "
PS1=$_PS1



Cargando…
Cancelar
Guardar