chiark
/
gitweb
/
~mdw
/
profile
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
cbd69b1
)
dot/bashrc: Reinstate carriage-return literal broken by deficient editor.
author
Mark Wooding
<mdw@distorted.org.uk>
Wed, 27 Feb 2019 14:37:50 +0000
(14:37 +0000)
committer
Mark 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
patch
|
blob
|
blame
|
history
diff --git
a/dot/bashrc
b/dot/bashrc
index 990d6453e5c99ead619363289107592e96db76e8..3053c666b10ac050f3f6aa4291b857c97a42acdc 100644
(file)
--- a/
dot/bashrc
+++ b/
dot/bashrc
@@
-35,8
+35,7
@@
__mdw_set_prompt_hacks () {
gitcolour="\[$(tput setaf 6)\]"
rccolour="\[$(tput setaf 1)\]"
uncolour="\[$(tput op)\]"
gitcolour="\[$(tput setaf 6)\]"
rccolour="\[$(tput setaf 1)\]"
uncolour="\[$(tput op)\]"
- nl="\[
-\]"
+ nl="\[
\r
\]"
;;
esac
host='\h' dir=' \w'
;;
esac
host='\h' dir=' \w'