瀏覽代碼

run ~/.prompt.sh in prompt

pull/1/head
10sr 12 年之前
父節點
當前提交
b054898338
共有 1 個檔案被更改,包括 1 行新增0 行删除
  1. +1
    -0
      .bashrc

+ 1
- 0
.bashrc 查看文件

@@ -306,6 +306,7 @@ prompt_function(){ # used by PS1
fi
local svn=$(type svn >/dev/null 2>&1 && safe-cmd __my_svn_ps1 [SVN:%s])
printf "${_MEMO}"
printf "$(test -f ~/.prompt.sh && bash ~/.prompt.sh)\n"
printf " [${c1}${pwd}${cdef}<${c3}${oldpwd}${cdef}]${git}${svn}\n"
printf "${c2}${USER}@${HOSTNAME}${cdef} ${date} ${BASH} ${BASH_VERSION}\n"
printf "shlv:${SHLVL} jobs:${jobnum} last:${lastreturn} "


Loading…
取消
儲存