Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add 'exit on success' to examples docs? #132

Open
dsummersl opened this issue Aug 25, 2015 · 1 comment
Open

Add 'exit on success' to examples docs? #132

dsummersl opened this issue Aug 25, 2015 · 1 comment

Comments

@dsummersl
Copy link

I wanted to run my test cases (a shell command, it doesn't matter what) and only leave the tmux pane open if the exit code is non-zero (ie, only if there is something exceptional I should look at). Turned out to be super simple, but it took me a bit of time brainstorming to figure it out: just use standard bash!

:VimuxRunCommand('myteststcript && exit')

Thought it might be nice to add an example like this to the docs.

Thanks so much for this plugin; love its straight up single-purposeness.

@alerque
Copy link
Member

alerque commented Feb 14, 2021

Sure, I'd be happy to see a blurb about this in the docs for the sake of future users with similar needs. Do you (or anyone seeing this) care to edit the help file and submit it as a PR?

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

No branches or pull requests

2 participants