소스 검색

rename prompt function

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

+ 2
- 2
.bashrc 파일 보기

@@ -40,7 +40,7 @@ replace-cmd(){

test -r /etc/bashrc && . /etc/bashrc

export PS1="\$(prompt_function)\$ "
export PS1="\$(__my_prompt_function)\$ "
# PROMPT_COMMAND=prompt_function
if iswindows
then
@@ -271,7 +271,7 @@ replace-cmd date
replace-cmd __my_svn_ps1


prompt_function(){ # used by PS1
__my_prompt_function(){ # used by PS1
local lastreturn=$?
if test "${TERM}" == dumb
then


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