-
-
Notifications
You must be signed in to change notification settings - Fork 526
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
shlex.split
usage for editor config with commands that have spaces
#1151
Comments
I think this relates to #1096: mainly that numpy has dealt with this in numpy/numpy#12979, so we could import their command parser. However, I am not sure if we want to add another dependency. |
@KarimPwnz note that my case here is Linux (though WSL). I did check that |
Perhaps fixing that would also fix #1096. |
Yup! Good catch, both of you! We should:
|
Bug Report
Related to #581.
Environment
jrnl --diagnostic
output:pipx
Current Behavior vs Expected
I use a long Vim editor string with spaces (
"vim -f +Goyo +Limelight \"+set spell linebreak\""
). Used to work fine, but in 2.6 it doesn't (some commands are not recognized as commands, instead treats the last command as filename(s)).Other Information
It looks like in
jrnl/jrnl/editor.py
Line 28 in 61f8406
it should be
posix=not on_windows
or somesuch, like suggested here. I can confirm thatworks fine in my environment, but
produces the same problem that I experience when I invoke
jrnl
.The text was updated successfully, but these errors were encountered: