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

Document option for running via PS1 #7

Open
bisgardo opened this issue May 4, 2020 · 0 comments
Open

Document option for running via PS1 #7

bisgardo opened this issue May 4, 2020 · 0 comments

Comments

@bisgardo
Copy link
Owner

bisgardo commented May 4, 2020

Not all shells have bash's PROMPT_COMMAND or similar. For those (to the degree that M-O works at all), you can probably get the same result by prepending $(eval "$MO_PROMPT_COMMAND") or something to PS1. The solution of course is much less robust though, because any junk can be prepended afterwards (breaking the output order).

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

1 participant