A little "trick" we used to use in England was to cut a short piece of the plastic covering from an electric cable (checkit is of the right size) and slip it over the brake/gear cable end. You can often find a piece which will match your frame colour. That was before we could buy the modern "crimp-ons"