class Byebug::Setting
def self.find(shortcut)
def self.find(shortcut) abbr = shortcut =~ /^no/ ? shortcut[2..-1] : shortcut matches = settings.select do |key, value| value.boolean? ? key =~ /#{abbr}/ : key =~ /#{shortcut}/ end matches.size == 1 ? matches.keys.first : nil end