소스 검색

.bashrc: display SHLVL in prompt

pull/1/head
10sr 12 년 전
부모
커밋
855211270b
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. +1
    -1
      .bashrc

+ 1
- 1
.bashrc 파일 보기

@@ -167,7 +167,7 @@ prompt_function(){ # used by PS1
local git=$(safe-cmd __git_ps1 [GIT:%s])
printf " [${c1}${pwd}${cdef}]${git}\n"
printf "${c2}${USER}@${HOSTNAME}${cdef} ${date} ${BASH} ${BASH_VERSION}\n"
printf "jobs:${jobnum} last:${lastreturn} "
printf "shlv:${SHLVL} jobs:${jobnum} last:${lastreturn} "
}

# type date >/dev/null 2>&1 || alias date=":" # "cmd /c echo %time%"


불러오는 중...
취소
저장