Skip to content

Conversation

pnetherwood
Copy link

The ps command on Cygwin or MSYS2 does not have the -o or -t flags so
fails to detect that vim is running in a tmux pane. This version uses a
simplified ps command. It avoids the need for the -t flag by expanding
the tmux pane tty variable in the grep command to detect a running vim
instance.

The ps command on Cygwin or MSYS2 does not have the -o or -t flags so
fails to detect that vim is running in a pane. This version uses a
simplified ps command. It avoids the need for the -t flag by expanding
the tmux pane tty variable in the grep command to detect a running vim
instance.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant