class Byebug::Setting

def find(shortcut)

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