* 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
This commit is contained in:
Dustin Kirkland 2013-05-07 11:19:11 -05:00
commit 4b93e536cf
2 changed files with 4 additions and 1 deletions

3
debian/changelog vendored
View file

@ -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 <kirkland@ubuntu.com> Sun, 21 Apr 2013 11:11:01 -0500

View file

@ -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