summaryrefslogtreecommitdiff
path: root/bashrc
diff options
context:
space:
mode:
authorjohannst <stoelp@eit.uni-kl.de>2018-01-18 13:37:45 +0100
committerjohannst <stoelp@eit.uni-kl.de>2018-01-18 13:37:45 +0100
commitd7fd15790ca16d1a5d34bc830748ad0d91ab3ba4 (patch)
treeee3de038f4a8a47d0fbeb31e7f3103239488869d /bashrc
parentfdc23dc5de4835a4e3a927db730a28f340e31f90 (diff)
downloaddotfiles-d7fd15790ca16d1a5d34bc830748ad0d91ab3ba4.tar.gz
dotfiles-d7fd15790ca16d1a5d34bc830748ad0d91ab3ba4.zip
bashrc disabled pwd formater as this kills reporting the return value correctly
Diffstat (limited to 'bashrc')
-rw-r--r--bashrc2
1 files changed, 1 insertions, 1 deletions
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 ''"