diff options
author | Eric Wong <normalperson@yhbt.net> | 2013-08-25 06:23:50 +0000 |
---|---|---|
committer | Eric Wong <normalperson@yhbt.net> | 2013-08-25 06:23:50 +0000 |
commit | 27ced8f3b631e16930a5ff56bec0a12467bf5206 (patch) | |
tree | c3fa9c8431c3b6ed53470962876554903e8d41d0 /bin/dtas-cueedit | |
parent | 3fb233fd768f3dbce2a3073ba596458871cec93e (diff) | |
download | dtas-27ced8f3b631e16930a5ff56bec0a12467bf5206.tar.gz |
Oops, not everybody has their VISUAL or EDITOR environment set.
Diffstat (limited to 'bin/dtas-cueedit')
-rwxr-xr-x | bin/dtas-cueedit | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/dtas-cueedit b/bin/dtas-cueedit index 2a205ac..3c03a78 100755 --- a/bin/dtas-cueedit +++ b/bin/dtas-cueedit @@ -5,7 +5,7 @@ require 'tempfile' require 'shellwords' usage = "Usage: #$0 FILENAME" -editor = ENV["VISUAL"] || ENV["EDITOR"] +editor = ENV["VISUAL"] || ENV["EDITOR"] || "vi" ARGV.size > 0 or abort usage def err_msg(cmd, status) |