Simply save the script in your home directory (as set-alias.sh
or whatever else you want), and add the following to your .bashrc
:
source ~/set-alias.sh
Don't forget to use the right filename if you've changed it!
Now you can just use the curlio
command: