In some circumstances, I need to make an official alias for a set of command, which acts just the same as the original software. Like:
alias ipython3="source /Users/zen1/miniconda2/bin/activate py3k; ipython; source /Users/zen1/miniconda2/bin/deactivate;"
But as I was lazy, I'd like to use another alias for alias
ipython3, let it be
ipy3, I could do it by just copying
ipython3's content. But that would be too clumsy.
Is there some magic_func so that
alias ipy3=magic_func("ipython3") can get the alias content of
ipython3 when using
ipython3 should be kept is because it is the official command to trigger
ipython for python 3, which can't be installed properly on my computer.