chiark
/
gitweb
/
~mdw
/
profile
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
dot/shell-rc: Only deploy the trivial prompt if not directly under Emacs.
[profile]
/
dot
/
shell-rc
diff --git
a/dot/shell-rc
b/dot/shell-rc
index 4538bc393f8d3afa737bcd1679d41f70ee6dbb6f..4ab03557bc5c1ca8c8079f7505b35325c81ddad2 100644
(file)
--- a/
dot/shell-rc
+++ b/
dot/shell-rc
@@
-74,8
+74,8
@@
__mdw_set_prompt_pieces () {
}
__mdw_set_prompt () {
- case "$TERM" in
- dumb)
+ case "$TERM
:$INSIDE_EMACS
" in
+ dumb
:
)
case $(id -u) in 0) PS1='# ' ;; *) PS1='$ ' ;; esac
PS2='> '
;;