From a86db88ddbf705c0173b8b49ae2c773b66e30043 Mon Sep 17 00:00:00 2001 From: Andrea Zagli Date: Tue, 9 Sep 2014 12:03:42 +0200 Subject: [PATCH] Prompt bash su 2 righe. --- tools/bash.bashrc | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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)" -- 2.49.0