From cd7356b30f6c3ca7411f295fbe94fa456c20c6ff Mon Sep 17 00:00:00 2001 From: Ruben Laguna Date: Fri, 14 Nov 2014 15:45:15 +0100 Subject: [PATCH] Update S-F1 binding in 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 --- usr/share/byobu/keybindings/f-keys.tmux | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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