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 option to quote the command sent to the terminal #414

Open
wants to merge 3 commits into
base: main
Choose a base branch
from

Conversation

fcusson
Copy link

@fcusson fcusson commented Mar 18, 2023

This added setting is ment to put the command sent to the terminal buffer in quote. This is for compatibility with git bash in Windows where the way neovim sends the command is using bash -c <cmd> without putting the whole command in quotes errors are raised due to unknown command.

I tested this new process under my work windows machine. Toggleterm is now able to open the terminal without problem. Even custom terminals.

I did some regression test on my linux desktop and without providing the new quote_command. The behavior stayed the same.

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.

None yet

1 participant