diff options
author | johannst <stoelp@eit.uni-kl.de> | 2018-01-18 13:37:45 +0100 |
---|---|---|
committer | johannst <stoelp@eit.uni-kl.de> | 2018-01-18 13:37:45 +0100 |
commit | d7fd15790ca16d1a5d34bc830748ad0d91ab3ba4 (patch) | |
tree | ee3de038f4a8a47d0fbeb31e7f3103239488869d | |
parent | fdc23dc5de4835a4e3a927db730a28f340e31f90 (diff) | |
download | dotfiles-d7fd15790ca16d1a5d34bc830748ad0d91ab3ba4.tar.gz dotfiles-d7fd15790ca16d1a5d34bc830748ad0d91ab3ba4.zip |
bashrc disabled pwd formater as this kills reporting the return value correctly
-rw-r--r-- | bashrc | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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 ''" |