From be9fc98b193e08a880fe6ba2c19b1ac8e29831b9 Mon Sep 17 00:00:00 2001 From: Johannes Schindelin Date: Wed, 22 Dec 2010 14:57:55 +0100 Subject: [PATCH] Wine: do not use intelligent Git prompt Kirill said it's too slow with Wine, and I agree. Signed-off-by: Johannes Schindelin --- etc/profile | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/etc/profile b/etc/profile index 20f580a8..e8331a54 100644 --- a/etc/profile +++ b/etc/profile @@ -147,9 +147,16 @@ esac . /git/contrib/completion/git-completion.bash -PS1='\[\033]0;$MSYSTEM:\w\007 +if test -z "$WINELOADERNOEXEC" +then + PS1='\[\033]0;$MSYSTEM:\w\007 \033[32m\]\u@\h \[\033[33m\w$(__git_ps1)\033[0m\] $ ' +else + PS1='\[\033]0;$MSYSTEM:\w\007 +\033[32m\]\u@\h \[\033[33m\w\033[0m\] +$ ' +fi # set default options for 'less' export LESS=-FRSX -- 2.11.4.GIT