From 782a9673b5f7f89d5935b6cb573ee48ef9c20554 Mon Sep 17 00:00:00 2001 From: Dustin Kirkland Date: Thu, 20 Oct 2011 11:39:55 -0500 Subject: [PATCH] * usr/bin/byobu-launch: - enhance shell history syncronization across shells --- debian/changelog | 2 ++ usr/bin/byobu-launch | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/debian/changelog b/debian/changelog index 9d1f9c02..520e8e5e 100644 --- a/debian/changelog +++ b/debian/changelog @@ -3,6 +3,8 @@ byobu (4.42) unreleased; urgency=low * usr/lib/byobu/.constants, usr/lib/byobu/reboot_required: - fix arrows to work better with ubuntu mono font - add reboot symbol + * usr/bin/byobu-launch: + - enhance shell history syncronization across shells -- Dustin Kirkland Fri, 14 Oct 2011 14:53:51 -0500 diff --git a/usr/bin/byobu-launch b/usr/bin/byobu-launch index 983c1aca..1302e736 100755 --- a/usr/bin/byobu-launch +++ b/usr/bin/byobu-launch @@ -55,7 +55,7 @@ elif [ "$BYOBU_SOURCED_PROFILE" != "1" ] && [ "$LC_BYOBU" != "0" ] && [ "$BYOBU_ # Support zsh too setopt appendhistory fi - [ -n "$PROMPT_COMMAND" ] && PROMPT_COMMAND="$PROMPT_COMMAND;history -a" || PROMPT_COMMAND="history -a" + [ -n "$PROMPT_COMMAND" ] && PROMPT_COMMAND="$PROMPT_COMMAND;history -a;history -r" || PROMPT_COMMAND="history -a;history -r" # Source profile, if necessary [ -z "$_byobu_sourced" ] && [ -r "$HOME/.profile" ] && . "$HOME/.profile" if byobu-launcher; then