From d7fd15790ca16d1a5d34bc830748ad0d91ab3ba4 Mon Sep 17 00:00:00 2001 From: johannst Date: Thu, 18 Jan 2018 13:37:45 +0100 Subject: bashrc disabled pwd formater as this kills reporting the return value correctly --- bashrc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'bashrc') diff --git a/bashrc b/bashrc index 64b580a..e7aa2d1 100644 --- a/bashrc +++ b/bashrc @@ -106,7 +106,7 @@ function pwd_formater() { echo -e "$ret_str"; } -export PS1="\[${BCol_BrightRed}\]::\[${BCol_MediumGray}\]\u\[${BCol_BrightRed}\]::\[${BCol_LightGray}\]\H\[${BCol_BrightRed}\]:\[${BCol_DarkGray}\]$(tty) \[${BCol_LightGray}\] - \[${BCol_DarkBlue}\]\$(pwd_formater \w)\n\ +export PS1="\[${BCol_BrightRed}\]::\[${BCol_MediumGray}\]\u\[${BCol_BrightRed}\]::\[${BCol_LightGray}\]\H\[${BCol_BrightRed}\]:\[${BCol_DarkGray}\]$(tty) \[${BCol_LightGray}\] - \[${BCol_DarkBlue}\]\w\n\ \[${BCol_NoColor}\][\$(return_val_formater \$?)\[${BCol_NoColor}\]] \$>\[${BCol_NoColor}\] " export PROMPT_COMMAND="echo -e ''" -- cgit v1.2.3