make i.rb look at current cmd