mirror of
https://github.com/jimeh/dotfiles.git
synced 2026-02-19 01:46:43 +00:00
fix(tmux): ensure emacs process detection works with various macOS builds on macOS
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user