-
-
Notifications
You must be signed in to change notification settings - Fork 101
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
and edit
commands error if $EDITOR set to "vim -u ~/my-vimrc"
#4
Comments
Thanks for the suggestion! Fixed with commit 699ba35 |
Thanks for the quick fix! I'm not familiar with Here's what I tried:
and it seems that these 2 commands still don't work. |
do this: pip install --upgrade . # there is a dot after upgrade ;) Let me know if it works! |
Thanks! :) After upgrading I'll open a PR and try to fix it :) |
Ok, fixed again, sorry, my bad, I did not update the edit module! |
Yes, thanks! :) |
Ok I fixed it again and removed shell=True, since it may cause security issues through command injection. |
Yes it works! Thank you :) |
You are welcome! Happy to be helpful! |
Expected Behavior
add
andedit
commands work.Actual Behavior
add
andedit
commands don't work if $EDITOR is set to "vim -u ~/my-vimrc", but work if set to just "vim".Problems seem to be at the line
call([config["EDITOR"], Path(category_path, title)])
inkb/commands/add.py
andkb/commands/view.py
.Steps to Reproduce the Problem
Specifications
The text was updated successfully, but these errors were encountered: