That sucks. Hope you get better soon! Do you have a primary care physician or family doctor? They should be able to help you with prescription medication for nausea and also help manage your acid. Are you taking max dose protonic already for example. I would also suggest to get tested for helicobacter pylori.
I don’t use yay so can’t help you there. For me the most useful pacman commands just got memorized after doing an install. I don’t think you need to memorize that much.
But to your question, instead of mnemonics you could use aliases instead for bash or zsh. that way you can use your own made up commands (or even mnemonics)