* usr/bin/byobu-launch:

- merge history
This commit is contained in:
Dustin Kirkland 2011-05-28 12:37:59 -05:00
commit aa5d26e930
2 changed files with 5 additions and 0 deletions

2
debian/changelog vendored
View file

@ -5,6 +5,8 @@ byobu (4.6) unreleased; urgency=low
* usr/share/byobu/keybindings/f-keys:
- use shift-F6 (in both ssh and tty) for detach, but don't logout
- seems that ctrl-F6 doesn't work in tty right now
* usr/bin/byobu-launch:
- merge history
-- Dustin Kirkland <kirkland@ubuntu.com> Thu, 26 May 2011 15:14:52 -0500

View file

@ -21,6 +21,9 @@ PKG="byobu"
DATA="$HOME/.$PKG"
case "$-" in
*i*)
# Attempt to merge history across screen sessions/windows (works with a few exceptions)
shopt -s histappend || true
[ -n "$PROMPT_COMMAND" ] && PROMPT_COMMAND="$PROMPT_COMMAND;history -a" || PROMPT_COMMAND="history -a"
# Respect a BYOBU_DISABLE environment variable
# To use over SSH, you must:
# 1) On your remote SSH server (might be handled by your distro):