From ee0873e279a5c6e6a7a70cc32094d7cccb0fa60a Mon Sep 17 00:00:00 2001 From: Haak Saxberg Date: Wed, 19 Mar 2014 10:36:36 -0700 Subject: [PATCH] update the prompt lol --- bash-files/bashrc | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/bash-files/bashrc b/bash-files/bashrc index 941c4aa..3dfec06 100644 --- a/bash-files/bashrc +++ b/bash-files/bashrc @@ -93,4 +93,7 @@ if [ -f /opt/local/etc/bash_completion.d/git ]; then fi # configure my multi-line prompt -export PS1="\n$BLACK[ \u@$RED\h $GREEN\w$RED$(parse_git_branch)$BLACK]\n> " +prompt_func() { + PS1="\n$BLACK[ \u@$RED\h $GREEN\w$RED$(parse_git_branch)$BLACK]\n> " +} +PROMPT_COMMAND=prompt_func