mirror of
https://github.com/dustinkirkland/byobu
synced 2025-08-24 07:06:19 -07:00
* usr/bin/byobu, usr/bin/byobu-status, usr/share/byobu/keybindings/f-
keys.tmux: LP: #1215210 - default window name to - - this is a compromise and I see no other way around this
This commit is contained in:
parent
b776bd8554
commit
fab94dc964
4 changed files with 6 additions and 10 deletions
4
debian/changelog
vendored
4
debian/changelog
vendored
|
@ -5,6 +5,10 @@ byobu (5.59) unreleased; urgency=low
|
||||||
- I've tested this to display properly in:
|
- I've tested this to display properly in:
|
||||||
+ gnome-terminal, xterm, uxterm, terminator, konsole
|
+ gnome-terminal, xterm, uxterm, terminator, konsole
|
||||||
- Still doesn't look right in putty
|
- Still doesn't look right in putty
|
||||||
|
* usr/bin/byobu, usr/bin/byobu-status, usr/share/byobu/keybindings/f-
|
||||||
|
keys.tmux: LP: #1215210
|
||||||
|
- default window name to -
|
||||||
|
- this is a compromise and I see no other way around this
|
||||||
|
|
||||||
-- Dustin Kirkland <kirkland@ubuntu.com> Thu, 12 Sep 2013 10:53:27 -0500
|
-- Dustin Kirkland <kirkland@ubuntu.com> Thu, 12 Sep 2013 10:53:27 -0500
|
||||||
|
|
||||||
|
|
|
@ -108,7 +108,7 @@ case $BYOBU_BACKEND in
|
||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
BYOBU_PROFILE="-f $BYOBU_PREFIX/share/$PKG/profiles/tmuxrc"
|
BYOBU_PROFILE="-f $BYOBU_PREFIX/share/$PKG/profiles/tmuxrc"
|
||||||
DEFAULT_WINDOW="new-session ${BYOBU_PREFIX}/bin/byobu-shell"
|
DEFAULT_WINDOW="new-session -n - ${BYOBU_PREFIX}/bin/byobu-shell"
|
||||||
sessions=$($BYOBU_BACKEND list-sessions 2>/dev/null) || true
|
sessions=$($BYOBU_BACKEND list-sessions 2>/dev/null) || true
|
||||||
;;
|
;;
|
||||||
screen)
|
screen)
|
||||||
|
|
|
@ -62,14 +62,6 @@ case "$BYOBU_BACKEND" in
|
||||||
break
|
break
|
||||||
fi
|
fi
|
||||||
done
|
done
|
||||||
# Do first-run procedures, if necessary
|
|
||||||
if [ -n "$TMUX" ]; then
|
|
||||||
if [ ! -e "$BYOBU_RUN_DIR/${TMUX#*,}" ]; then
|
|
||||||
# Clear initial window name
|
|
||||||
tmux rename-window ""
|
|
||||||
touch "$BYOBU_RUN_DIR/${TMUX#*,}"
|
|
||||||
fi
|
|
||||||
fi
|
|
||||||
;;
|
;;
|
||||||
esac
|
esac
|
||||||
|
|
||||||
|
|
|
@ -28,7 +28,7 @@ source $BYOBU_PREFIX/share/byobu/keybindings/f-keys.tmux.disable
|
||||||
# Documented in: $BYOBU_PREFIX/share/doc/byobu/help.tmux.txt
|
# Documented in: $BYOBU_PREFIX/share/doc/byobu/help.tmux.txt
|
||||||
bind-key -n F1 new-window -k -n config byobu-config
|
bind-key -n F1 new-window -k -n config byobu-config
|
||||||
bind-key -n S-F1 new-window -k -n help '$BYOBU_PAGER $BYOBU_PREFIX/share/doc/byobu/help.tmux.txt'
|
bind-key -n S-F1 new-window -k -n help '$BYOBU_PAGER $BYOBU_PREFIX/share/doc/byobu/help.tmux.txt'
|
||||||
bind-key -n F2 new-window \; rename-window ""
|
bind-key -n F2 new-window \; rename-window "-"
|
||||||
bind-key -n C-F2 display-panes \; split-window -h
|
bind-key -n C-F2 display-panes \; split-window -h
|
||||||
bind-key -n S-F2 display-panes \; split-window -v
|
bind-key -n S-F2 display-panes \; split-window -v
|
||||||
bind-key -n C-S-F2 new-session
|
bind-key -n C-S-F2 new-session
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue