* usr/bin/byobu-launch:

- enhance shell history syncronization across shells
This commit is contained in:
Dustin Kirkland 2011-10-20 11:39:55 -05:00
commit 782a9673b5
2 changed files with 3 additions and 1 deletions

2
debian/changelog vendored
View file

@ -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 <kirkland@ubuntu.com> Fri, 14 Oct 2011 14:53:51 -0500

View file

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