Although you may want to keep cats out of your garden, you may want to reconsider using a particularly pungent herb that has a few downsides.
Ruta graveolens, or garden rue, is a perennial herb native to the Mediterranean region. Herbalists love its characteristic musky scent, which effectively repels many pests, including slugs.