Don't use PROMPT_COMMAND on dtterm.
authorIain Patterson <me@iain.cx>
Fri, 23 Jan 2009 17:10:12 +0000 (17:10 +0000)
committerIain Patterson <me@iain.cx>
Fri, 23 Jan 2009 17:10:12 +0000 (17:10 +0000)
git-svn-id: https://svn.cambridge.iain.cx/profile/trunk@173 6be0d1a5-5cfe-0310-89b6-964be062b18b

.profile.d/prompt.bashrc

index ad5b1e3..07c9f9d 100644 (file)
@@ -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