From 17fe5f9a625b6468f08359204c1b7254a70f1dd9 Mon Sep 17 00:00:00 2001 From: Iain Patterson Date: Fri, 23 Jan 2009 17:10:12 +0000 Subject: [PATCH] Don't use PROMPT_COMMAND on dtterm. git-svn-id: https://svn.cambridge.iain.cx/profile/trunk@173 6be0d1a5-5cfe-0310-89b6-964be062b18b --- .profile.d/prompt.bashrc | 5 +++++ 1 file changed, 5 insertions(+) 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 -- 2.20.1