Browse Source

rename prompt function

pull/1/head
10sr 12 years ago
parent
commit
dd0490c46a
1 changed files with 2 additions and 2 deletions
  1. +2
    -2
      .bashrc

+ 2
- 2
.bashrc View File

@@ -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


Loading…
Cancel
Save