Closed strk closed 8 years ago
What OS? I can't reproduce that issue with an empty/missing EDITOR
variable. Can you share the config file (minus your credentials) and maybe your env. I tried deleting the EDITOR
environment variable but I don't get an error, unless editor is missing from the configuration file as well.
Ubuntu 14.04.3 LTS, no "editor" in config file results in the error, no matter exporting an EDITOR variable.
There's no much to see in the configuration file, as the issue here is being unable to avoid writing an "editor" variable in there.
Ok, so you have an exported EDITOR variable in your environment and nothing in your cartman config.
I literally have the same setup and it works fine here, what do you have if you type the following in a python interpreter:
>>> import os
>>> os.getenv("EDITOR")
Never mind, it looks like I cannot reproduce this anymore, it's working fine. Not sure what I stepped on before. This can be closed.
Thanks for confirming.
~/.cartman/config presence of an "editor" variable does not prevent the error from occurring on "cm new"