diff options
author | Junegunn Choi <junegunn.c@gmail.com> | 2013-11-17 01:37:56 +0900 |
---|---|---|
committer | Junegunn Choi <junegunn.c@gmail.com> | 2013-11-17 01:37:56 +0900 |
commit | be3b948034a8201dae1b85b6d6f4885339f87af3 (patch) | |
tree | be10d6d95a5d40565003b70bf1828ad174fcb6a6 | |
parent | 93dafff42446013e88f55fcb474f273df7a75100 (diff) |
Fix Gem executable0.4.0
-rwxr-xr-x | fzf | 2 | ||||
-rw-r--r-- | test/test_fzf.rb | 1 |
2 files changed, 2 insertions, 1 deletions
@@ -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' diff --git a/test/test_fzf.rb b/test/test_fzf.rb index b33502df..6bff9449 100644 --- a/test/test_fzf.rb +++ b/test/test_fzf.rb @@ -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 |