From: Iain Patterson Date: Fri, 23 Jan 2009 17:10:12 +0000 (+0000) Subject: Don't use PROMPT_COMMAND on dtterm. X-Git-Url: http://git.iain.cx/?a=commitdiff_plain;h=17fe5f9a625b6468f08359204c1b7254a70f1dd9;p=profile.git Don't use PROMPT_COMMAND on dtterm. git-svn-id: https://svn.cambridge.iain.cx/profile/trunk@173 6be0d1a5-5cfe-0310-89b6-964be062b18b --- diff --git a/.profile.d/prompt.bashrc b/.profile.d/prompt.bashrc index ad5b1e3..07c9f9d 100644 --- a/.profile.d/prompt.bashrc +++ b/.profile.d/prompt.bashrc @@ -33,3 +33,8 @@ else export PROMPT_COMMAND='echo -ne "\033k\033\0134"' fi unset blank info vimchild SSH_FORWARDED + +# Actual dtterm barfs on escape sequences. +if [ "$TERMINAL_EMULATOR" = "dtterm" ]; then + unset PROMPT_COMMAND +fi