Skip to content
Snippets Groups Projects
Commit be3b9480 authored by Junegunn Choi's avatar Junegunn Choi
Browse files

Fix Gem executable

parent 93dafff4
No related branches found
No related tags found
No related merge requests found
......@@ -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'
......@@ -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
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment