chiark / gitweb /
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 990d6453e5c99ead619363289107592e96db76e8..3053c666b10ac050f3f6aa4291b857c97a42acdc 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'