I made a script that changes alias to echo the aliases to a file to save them. also gives you the ability to delete aliases as well without opening the file. you use it exactly like you use alias normally
alias
https://github.com/FloppyDisco/alias-command