mirror of
https://github.com/dustinkirkland/byobu
synced 2025-08-21 14:03:18 -07:00
* usr/bin/byobu-ctrl-a.in:
- silence stderr
This commit is contained in:
parent
b7990bc97f
commit
341be4d10d
2 changed files with 5 additions and 3 deletions
2
debian/changelog
vendored
2
debian/changelog
vendored
|
@ -7,6 +7,8 @@ byobu (5.105) unreleased; urgency=medium
|
|||
* usr/lib/byobu/swap, usr/share/man/man1/byobu.1:
|
||||
- switch swap to black on green, white on green
|
||||
was unreadable
|
||||
* usr/bin/byobu-ctrl-a.in:
|
||||
- silence stderr
|
||||
|
||||
-- Dustin Kirkland <kirkland@ubuntu.com> Sun, 28 Feb 2016 23:46:26 -0600
|
||||
|
||||
|
|
|
@ -50,7 +50,7 @@ case "$BYOBU_BACKEND" in
|
|||
bind_to="emacs"
|
||||
fi
|
||||
# Check for some other escape sequence in tmux keys
|
||||
if tmux list-keys | grep -qs "^bind-key\s\+[^a]\s\+send-prefix"; then
|
||||
if $BYOBU_BACKEND list-keys 2>/dev/null | grep -qs "^bind-key\s\+[^a]\s\+send-prefix"; then
|
||||
bind_to="emacs"
|
||||
fi
|
||||
;;
|
||||
|
@ -106,7 +106,7 @@ case "$bind_to" in
|
|||
$BYOBU_SED_INLINE -e "/^set -g prefix/d" -e "/ send-prefix/d" -e "/^unbind-key -n C-${key}/d" "$keybindings"
|
||||
echo "set -g prefix F12" >> "$keybindings"
|
||||
echo "unbind-key -n C-${key}" >> "$keybindings"
|
||||
$BYOBU_BACKEND source "$BYOBU_PREFIX/share/byobu/profiles/tmuxrc"
|
||||
$BYOBU_BACKEND source "$BYOBU_PREFIX/share/byobu/profiles/tmuxrc" 2>/dev/null
|
||||
;;
|
||||
esac
|
||||
echo "INFO: ctrl-a will now operate in emacs mode"
|
||||
|
@ -132,7 +132,7 @@ case "$bind_to" in
|
|||
echo "set -g prefix2 ^${KEY}" >> "$keybindings"
|
||||
fi
|
||||
echo "bind ${key} send-prefix" >> "$keybindings"
|
||||
$BYOBU_BACKEND source "$BYOBU_PREFIX/share/byobu/profiles/tmuxrc"
|
||||
$BYOBU_BACKEND source "$BYOBU_PREFIX/share/byobu/profiles/tmuxrc" 2>/dev/null
|
||||
;;
|
||||
esac
|
||||
echo "INFO: ctrl-a will now operate in GNU Screen mode"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue