~mdw
/
profile
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
dot/parallel-hosts: Reorganize the lists now `fender' is home.
[profile]
/
dot
/
shell-rc
diff --git
a/dot/shell-rc
b/dot/shell-rc
index
b65f63e
..
33403cb
100644
(file)
--- a/
dot/shell-rc
+++ b/
dot/shell-rc
@@
-175,7
+175,7
@@
__mdw_set_prompt () {
__mdw_xterm_settitle () {
printf >/dev/tty \
__mdw_xterm_settitle () {
printf >/dev/tty \
- "
\e
]
2
;%s@%s:%s – %s
\e
\\" \
+ "
\e
]
0
;%s@%s:%s – %s
\e
\\" \
"$__mdw_user" "$__mdw_host$__mdw_hqual" "$PWD" \
"$1"
}
"$__mdw_user" "$__mdw_host$__mdw_hqual" "$PWD" \
"$1"
}
@@
-473,6
+473,13
@@
case $(id -u) in
;;
esac
;;
esac
+## Install wakeup machinery for long-running programs.
+case ${DISPLAY+t},${WINDOWID+t},${__mdw_precmd_hook+t},${__mdw_preexec_hook+t} in
+ t,t,t,t)
+ if [ -t 0 ] && __mdw_programp notify-send; then . $HOME/bin/wakey.sh; fi
+ ;;
+esac
+
## Run any local hooks.
__mdw_source_if_exists "$HOME/.shell-local"
## Run any local hooks.
__mdw_source_if_exists "$HOME/.shell-local"