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

breaks when $EDITOR has arguments #306

Open
mralusw opened this issue May 25, 2021 · 0 comments
Open

breaks when $EDITOR has arguments #306

mralusw opened this issue May 25, 2021 · 0 comments

Comments

@mralusw
Copy link

mralusw commented May 25, 2021

While using the recommended workflow, Minilla tried to invoke my $EDITOR. Except it invokes $EDITOR as if it were a single executable, though it can have args (and mine does: vim -Nu ~/.vimrc.EDITOR)

I'll add a pull request to invoke sh -c '${EDITOR:-vi} "$1"' sh $file properly. This is Unix-y, but I don't suppose Windows users having cmd.exe as their shell really have a $EDITOR.

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 a pull request may close this issue.

1 participant