Package: libvte-2.90-common Version: 1:0.34.6-1 Severity: normal File: /etc/profile.d/vte.sh Tags: patch
vte.sh sets PROMPT_COMMAND, which might already exist; it should instead append to PROMPT_COMMAND. Patch attached. - Josh Triplett -- System Information: Debian Release: jessie/sid APT prefers unstable APT policy: (500, 'unstable'), (1, 'experimental') Architecture: amd64 (x86_64) Kernel: Linux 3.9-1-amd64 (SMP w/4 CPU cores) Locale: LANG=C.UTF-8, LC_CTYPE=C.UTF-8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/dash -- no debconf information
diff -Naur vte3.orig/src/vte.sh vte3/src/vte.sh --- vte3.orig/src/vte.sh 2013-06-08 04:44:24.000000000 -0700 +++ vte3/src/vte.sh 2013-06-26 08:23:03.695868795 -0700 @@ -1,5 +1,6 @@ # Copyright © 2006 Shaun McCance <sha...@gnome.org> # Copyright © 2013 Peter De Wachter <pdewa...@gmail.com> +# Copyright © 2013 Josh Triplett <j...@joshtriplett.org> # # This program is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by @@ -56,7 +57,7 @@ case "$TERM" in xterm*|vte*) - [ -n "$BASH_VERSION" ] && PROMPT_COMMAND="__vte_prompt_command" + [ -n "$BASH_VERSION" ] && PROMPT_COMMAND="${PROMPT_COMMAND}${PROMPT_COMMAND:+;}__vte_prompt_command" [ -n "$ZSH_VERSION" ] && chpwd_functions+=(__vte_osc7) ;; esac