From 116be18b2f8f05ee24fcc107e4172ec46e240aa1 Mon Sep 17 00:00:00 2001 From: RevBar Date: Tue, 26 Feb 2013 20:26:45 +0100 Subject: [PATCH] WTH, no $EDITOR :) --- plugins/products | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/products b/plugins/products index 0b6d96a..72d0f40 100755 --- a/plugins/products +++ b/plugins/products @@ -9,7 +9,7 @@ sub command :Tab(edit) { my ($self, $cart, $command) = @_; if ($command eq 'edit') { - system $ENV{EDITOR}, $filename; + system $ENV{EDITOR} || 'vi', $filename; return ACCEPT; }