Replace "vi" with $EDITOR in config command
This commit is contained in:
parent
a6aa40b1c1
commit
df1578689f
@ -10,7 +10,7 @@ program
|
|||||||
.description("Edit config: '" + Helper.HOME + "/config.js'")
|
.description("Edit config: '" + Helper.HOME + "/config.js'")
|
||||||
.action(function() {
|
.action(function() {
|
||||||
child.spawn(
|
child.spawn(
|
||||||
"vi",
|
process.env.EDITOR || "vi",
|
||||||
[Helper.HOME + "/config.js"],
|
[Helper.HOME + "/config.js"],
|
||||||
{stdio: "inherit"}
|
{stdio: "inherit"}
|
||||||
);
|
);
|
||||||
|
Loading…
Reference in New Issue
Block a user