[vte] Revert "vte.sh: Append to PROMPT_COMMAND rather than overwriting it"
- From: Christian Persch <chpe src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [vte] Revert "vte.sh: Append to PROMPT_COMMAND rather than overwriting it"
- Date: Mon, 19 Jan 2015 15:24:48 +0000 (UTC)
commit 12e706ba1601896fc233ad97255a37281e70dc09
Author: Christian Persch <chpe gnome org>
Date: Mon Jan 19 12:28:22 2015 +0100
Revert "vte.sh: Append to PROMPT_COMMAND rather than overwriting it"
This reverts commit 1e6e46f90a035a51b37576d059d6108ece1b4eaa.
Revert this patch since it'll cause __vte_prompt_command to be
twice in PROMPT_COMMAND with the default fedora /etc/bashrc for
non-login shells.
Conflicts:
src/vte.sh
src/vte.sh | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/src/vte.sh b/src/vte.sh
index f4e47d4..2d211ca 100644
--- a/src/vte.sh
+++ b/src/vte.sh
@@ -57,7 +57,7 @@ __vte_prompt_command() {
case "$TERM" in
xterm*|vte*)
- [ -n "$BASH_VERSION" ] && PROMPT_COMMAND="${PROMPT_COMMAND:+$PROMPT_COMMAND; }__vte_prompt_command"
+ [ -n "$BASH_VERSION" ] && PROMPT_COMMAND="__vte_prompt_command"
[ -n "$ZSH_VERSION" ] && precmd_functions+=(__vte_osc7)
;;
esac
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]