I want to get the text which an alias expands into.
For example, if I have:
alias g=hub alias cdh='cd $HOME'
I want to have:
expand_alias g ==
expand_alias cdh ==
The tricky thing is that the two shells have different output: bash:
$ alias g cdh alias g='git' alias cdh='cd $HOME'
% alias g cdh g=hub cdh='cd $HOME'
alias prefix and no quotes around