class Byebug::Setting

def find(shortcut)

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