X-Git-Url: https://git.distorted.org.uk/~mdw/profile/blobdiff_plain/55bd026152a0d09c69a2e6113d46928a3ad22ed9..2b0e0a9e21db6723de20170ff91019b32559341f:/dot/shell-rc diff --git a/dot/shell-rc b/dot/shell-rc index 4538bc3..4ab0355 100644 --- 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='> ' ;;