瀏覽代碼

use USER instead of USERNAME

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

+ 1
- 1
.bashrc 查看文件

@@ -113,7 +113,7 @@ prompt_function(){ # used by PS1
type __git_ps1 >/dev/null 2>&1 && local gitb=$(__git_ps1 GIT:%s)
type git >/dev/null 2>&1 && local git="[${gitb}]"
printf " [${c1}${pwd}${cdef}]${git}\n"
printf "${c2}${USERNAME}@${HOSTNAME}${cdef} ${date} ${BASH} ${BASH_VERSION}\n"
printf "${c2}${USER}@${HOSTNAME}${cdef} ${date} ${BASH} ${BASH_VERSION}\n"
printf "jobs:${jobnum} last:${lastreturn} "
}



Loading…
取消
儲存