lib/ripl/completion.rb in ripl-0.2.0 vs lib/ripl/completion.rb in ripl-0.2.1
- old
+ new
@@ -1,9 +1,9 @@
require 'bond'
module Ripl::Completion
def before_loop
+ Bond.start(config[:completion] || {})
super
- Bond.start(config[:completion] || {}) unless Bond.started?
end
end
Ripl::Shell.send :include, Ripl::Completion