I would have posted this in the Programming/Scripting subforums. That is where the appropriate gurus are waiting eagerly for pogramming and scripting questions.
Make (editor of your choice) a file in the bin directory inside your home directory with the contents (you choose a name, in this example I call it riderdict):
This solution requires no chang of .bashrc. BTW, when you want to add an alias (they have there value), then add them to .alias (to be created when you add your first alias). You have them then nice together in one file and* .bashrc* adds that (see one of the last lines there):
test -s ~/.alias && . ~/.alias || true
But making a small script with often to be done tasks in your bin is a good solution.