-
Notifications
You must be signed in to change notification settings - Fork 512
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
Lines of diff output are executed as commands on Windows #4195
Comments
Removing this from
But then I don't get to use bat. I'm okay with not using it, but it's still a malfunction. |
It looks like What is the output of
? |
Closing due to inactivity. Please re-open if needed. |
Here is the output requested. As for reopening, it says I don't have the permissions to reopen the issue.
Notice
|
I have reopened this for you. |
I suspect that this is the problem. It looks like |
@LeonardoMor can you give a small example that allows others to reproduce the problem that you are seeing? Assume a fresh install of Windows with chezmoi installed but nothing else installed. |
With no way to reproduce this, I assume that this a peculiarity of the local machine. Please re-open if you have a way for others to reproduce the problem. |
Describe the bug
When using any sub-command that involves showing a diff on Windows, each line of the diff is executed as if it was a command, thus showing the lines of the diff along with a bunch of errors.
To reproduce
chezmoi diff
Expected behavior
Normal diff output.
Output of command with the
--verbose
flagFor this, I simple added the line
'' some comments here
to the_vimrc
file. Then I get this output:Output of
chezmoi doctor
Additional context
I have set
pager
andcd
on my chezmoi config.This only happens on Windows.
The text was updated successfully, but these errors were encountered: