WTH, no $EDITOR :)
This commit is contained in:
parent
620f31bd82
commit
116be18b2f
1 changed files with 1 additions and 1 deletions
|
@ -9,7 +9,7 @@ sub command :Tab(edit) {
|
||||||
my ($self, $cart, $command) = @_;
|
my ($self, $cart, $command) = @_;
|
||||||
|
|
||||||
if ($command eq 'edit') {
|
if ($command eq 'edit') {
|
||||||
system $ENV{EDITOR}, $filename;
|
system $ENV{EDITOR} || 'vi', $filename;
|
||||||
return ACCEPT;
|
return ACCEPT;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue