~mdw
/
profile
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
dot/shell-rc: Don't expand `TERM' or `INSIDE_EMACS' if they're not defined.
[profile]
/
dot
/
shell-rc
diff --git
a/dot/shell-rc
b/dot/shell-rc
index
4ab0355
..
fef62a2
100644
(file)
--- a/
dot/shell-rc
+++ b/
dot/shell-rc
@@
-74,7
+74,7
@@
__mdw_set_prompt_pieces () {
}
__mdw_set_prompt () {
- case "$
TERM:$INSIDE_EMACS
" in
+ case "$
{TERM-dumb}:${INSIDE_EMACS+$INSIDE_EMACS}
" in
dumb:)
case $(id -u) in 0) PS1='# ' ;; *) PS1='$ ' ;; esac
PS2='> '