From d38eb63461addedc2e9d7482412037376c9492e6 Mon Sep 17 00:00:00 2001 From: Jim Myhrberg Date: Wed, 2 Sep 2020 00:37:33 +0100 Subject: [PATCH] fix(tmux): ensure emacs process detection works with various macOS builds on macOS --- tmux.conf | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tmux.conf b/tmux.conf index 2e88298..fb7f65a 100644 --- a/tmux.conf +++ b/tmux.conf @@ -52,7 +52,7 @@ bind Enter resize-pane -Z bind C-Enter resize-pane -Z # Enable smart pane switching that's Emacs aware. -is_emacs='echo "#{pane_current_command}" | grep -iqE "(^|\/)emacs$"' +is_emacs='echo "#{pane_current_command}" | grep -iqE "(^|\/)emacs(-[^\/]+)?$"' # Use Alt-[i/k/j/l] keys without prefix key to switch panes if current pane is # not running Emacs. If the pane is running Emacs, let Emacs receive the