dot/bashrc: Reinstate carriage-return literal broken by deficient editor.
authorMark Wooding <mdw@distorted.org.uk>
Wed, 27 Feb 2019 14:37:50 +0000 (14:37 +0000)
committerMark Wooding <mdw@distorted.org.uk>
Wed, 27 Feb 2019 14:37:50 +0000 (14:37 +0000)
I think I used THE to make 8a075bd7..., which replaced my literal
carriage-return with a linefeed, which causes all manner of trouble.
Put the carriage-return back.

dot/bashrc

index 990d645..3053c66 100644 (file)
@@ -35,8 +35,7 @@ __mdw_set_prompt_hacks () {
       gitcolour="\[$(tput setaf 6)\]"
       rccolour="\[$(tput setaf 1)\]"
       uncolour="\[$(tput op)\]"
-      nl="\[
-\]"
+      nl="\[\r\]"
       ;;
   esac
   host='\h' dir=' \w'