Quellcode durchsuchen

rename prompt function

pull/1/head
10sr vor 12 Jahren
Ursprung
Commit
dd0490c46a
1 geänderte Dateien mit 2 neuen und 2 gelöschten Zeilen
  1. +2
    -2
      .bashrc

+ 2
- 2
.bashrc Datei anzeigen

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


Laden…
Abbrechen
Speichern