Fix Gem executable

This commit is contained in:
Junegunn Choi 2013-11-17 01:37:56 +09:00
parent 93dafff424
commit be3b948034
2 changed files with 2 additions and 1 deletions

2
fzf
View File

@ -845,5 +845,5 @@ class FZF
end
end#FZF
FZF.new(ARGV, $stdin).start if $0 == __FILE__
FZF.new(ARGV, $stdin).start if ENV.fetch('FZF_EXECUTABLE', '1') == '1'

View File

@ -3,6 +3,7 @@
require 'minitest/autorun'
$LOAD_PATH.unshift File.expand_path('../..', __FILE__)
ENV['FZF_EXECUTABLE'] = '0'
load 'fzf'
class TestFZF < MiniTest::Unit::TestCase