From 4b93e536cff7ff17e76f7d0fc01a087148c35887 Mon Sep 17 00:00:00 2001 From: Dustin Kirkland Date: Tue, 7 May 2013 11:19:11 -0500 Subject: [PATCH] =?UTF-8?q?*=20usr/bin/byobu-launch:=20=20=20-=20append,?= =?UTF-8?q?=20rather=20than=20prepend,=20$PROMPT=5FCOMMAND,=20as=20double-?= =?UTF-8?q?semi-colons=20=20=20=20=20are=20illegal,=20thanks=20to=20Christ?= =?UTF-8?q?ian=20M=C3=A4der=20in=20github=20for=20patch?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- debian/changelog | 3 +++ usr/bin/byobu-launch | 2 +- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/debian/changelog b/debian/changelog index 3b434009..49e01510 100644 --- a/debian/changelog +++ b/debian/changelog @@ -2,6 +2,9 @@ byobu (5.38) unreleased; urgency=low * usr/bin/byobu-janitor: - there is no "grey" in tmux + * usr/bin/byobu-launch: + - append, rather than prepend, $PROMPT_COMMAND, as double-semi-colons + are illegal, thanks to Christian Mäder in github for patch -- Dustin Kirkland Sun, 21 Apr 2013 11:11:01 -0500 diff --git a/usr/bin/byobu-launch b/usr/bin/byobu-launch index 3a4e939d..1dda80f2 100755 --- a/usr/bin/byobu-launch +++ b/usr/bin/byobu-launch @@ -58,7 +58,7 @@ elif [ "$BYOBU_SOURCED_PROFILE" != "1" ] && [ "$LC_BYOBU" != "0" ] && [ "$BYOBU_ esac fi done - [ -n "$PROMPT_COMMAND" ] && PROMPT_COMMAND="$PROMPT_COMMAND;history -a;history -r" || PROMPT_COMMAND="history -a;history -r" + [ -n "$PROMPT_COMMAND" ] && PROMPT_COMMAND="history -a;history -r;$PROMPT_COMMAND" || PROMPT_COMMAND="history -a;history -r" # Source profile, if necessary [ -z "$_byobu_sourced" ] && [ -r "$HOME/.profile" ] && . "$HOME/.profile" if byobu-launcher; then