~mdw
/
profile
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
dot/xinitrc: Use modern command-substitution syntax.
[profile]
/
dot
/
bashrc
diff --git
a/dot/bashrc
b/dot/bashrc
index
5f9742a
..
990d645
100644
(file)
--- a/
dot/bashrc
+++ b/
dot/bashrc
@@
-27,7
+27,7
@@
__mdw_source_if_exists /etc/bash_completion "$HOME/.bash_completion"
__mdw_set_prompt_hacks () {
case "$TERM" in
__mdw_set_prompt_hacks () {
case "$TERM" in
- linux*|screen*|xterm*|vt100*|eterm*)
+ linux*|screen*|xterm*|
putty*|
vt100*|eterm*)
case "$(tput bold)" in
"") bold="\[$(tput md)\]" unbold="\[$(tput me)\]" ;;
*) bold="\[$(tput bold)\]" unbold="\[$(tput sgr0)\]" ;;
case "$(tput bold)" in
"") bold="\[$(tput md)\]" unbold="\[$(tput me)\]" ;;
*) bold="\[$(tput bold)\]" unbold="\[$(tput sgr0)\]" ;;
@@
-35,7
+35,8
@@
__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="\[
\r
\]"
+ nl="\[
+\]"
;;
esac
host='\h' dir=' \w'
;;
esac
host='\h' dir=' \w'