* usr/share/byobu/keybindings/f-keys.tmux:

- The previous binding will not work with shells that don't allow
    variables as commands (fish shell being one of those)
  - Use `sh -c` to explicitly use a POSIX shell to interpret the command
This commit is contained in:
Dustin Kirkland 2014-12-09 17:55:07 -06:00
commit 6f686a2125
2 changed files with 6 additions and 2 deletions

6
debian/changelog vendored
View file

@ -1,6 +1,10 @@
byobu (5.88) unreleased; urgency=medium
* UNRELEASED
[ Ruben Laguna ]
* usr/share/byobu/keybindings/f-keys.tmux:
- The previous binding will not work with shells that don't allow
variables as commands (fish shell being one of those)
- Use `sh -c` to explicitly use a POSIX shell to interpret the command
-- Dustin Kirkland <kirkland@ubuntu.com> Tue, 30 Sep 2014 08:38:40 -0500

View file

@ -27,7 +27,7 @@ source $BYOBU_PREFIX/share/byobu/keybindings/f-keys.tmux.disable
# Byobu's Keybindings
# Documented in: $BYOBU_PREFIX/share/doc/byobu/help.tmux.txt
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 "sh -c '$BYOBU_PAGER $BYOBU_PREFIX/share/doc/byobu/help.tmux.txt'"
bind-key -n F2 new-window \; rename-window "-"
bind-key -n C-F2 display-panes \; split-window -h
bind-key -n S-F2 display-panes \; split-window -v