From: Andrea Zagli Date: Tue, 9 Sep 2014 10:03:42 +0000 (+0200) Subject: Prompt bash su 2 righe. X-Git-Url: https://saetta.ns0.it/gitweb?a=commitdiff_plain;h=a86db88ddbf705c0173b8b49ae2c773b66e30043;p=msys2 Prompt bash su 2 righe. --- diff --git a/tools/bash.bashrc b/tools/bash.bashrc index 26f157a..f5d0bcd 100644 --- a/tools/bash.bashrc +++ b/tools/bash.bashrc @@ -18,7 +18,9 @@ [ -r /etc/git-prompt.sh ] && . /etc/git-prompt.sh # Set a default prompt of: user@host and current_directory -PS1='\[\e]0;$MSYSTEM \w\a\]\n\[\e[32m\]\u@\h:\[\e[33m\]\w\[\e[0m\]$(__git_ps1)\$ ' +PS1='\[\e]0;$MSYSTEM \w\a\]\n\[\e[32m\]\u@\h:\[\e[33m\]\w\[\e[0m\]' +PS1="$PS1"'`__git_ps1`' +PS1="$PS1"'\n\$ ' # Uncomment to use the terminal colours set in DIR_COLORS # eval "$(dircolors -b /etc/DIR_COLORS)"