Przeglądaj źródła

rename prompt function

pull/1/head
10sr 12 lat temu
rodzic
commit
dd0490c46a
1 zmienionych plików z 2 dodań i 2 usunięć
  1. +2
    -2
      .bashrc

+ 2
- 2
.bashrc Wyświetl plik

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


Ładowanie…
Anuluj
Zapisz