From 6f686a2125fb6019a8f914d304cd3b4fbbc45901 Mon Sep 17 00:00:00 2001 From: Dustin Kirkland Date: Tue, 9 Dec 2014 17:55:07 -0600 Subject: [PATCH] * 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 --- debian/changelog | 6 +++++- usr/share/byobu/keybindings/f-keys.tmux | 2 +- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/debian/changelog b/debian/changelog index 86465c7c..b515f200 100644 --- a/debian/changelog +++ b/debian/changelog @@ -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 Tue, 30 Sep 2014 08:38:40 -0500 diff --git a/usr/share/byobu/keybindings/f-keys.tmux b/usr/share/byobu/keybindings/f-keys.tmux index 09906489..370f9382 100644 --- a/usr/share/byobu/keybindings/f-keys.tmux +++ b/usr/share/byobu/keybindings/f-keys.tmux @@ -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