瀏覽代碼

uncomment

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

+ 8
- 6
bashrc 查看文件

@@ -888,12 +888,14 @@ then
__my_cdef="\[\e[0m\]"
fi

export _LAST_STATUS=$?
__my_export_last_status(){
export _LAST_STATUS=$?
echo $_LAST_STATUS
return $_LAST_STATUS
}
# export _LAST_STATUS=a
# __my_export_last_status(){
# local last=$?
# echo $last
# export _LAST_STATUS=$last
# echo $_LAST_STATUS
# return $last
# }

_ps1_bash="\
${__my_c4}:: ${__my_cdef}[${__my_c2}\u@\H${__my_cdef}:${__my_c1}\w/${__my_cdef}]\$(__my_ps1_git)\$(__my_ps1_bttry)\$(__my_ps1_ipaddr)\$(__my_ps1_moc)\n\


Loading…
取消
儲存