ipython/ipython — pull request #2036 by bfroehle (2012-06-25 18:25:24+00:00)
Title: %alias_magic

A magic function which creates additional magic aliases.

* ```%alias_magic myedit edit```: `%myedit` is an alias of `%edit`.
* ```%alias_magic mybash bash```: `%%mybash` is an alias of `%bash`.
* ```%alias_magic mytimeit timeit```: `%mytimeit` is an alias of `%timeit`, and `%%mytimeit` is an alias of `%%timeit`.
* ```%alias_magic --cell mytimeit timeit```: Only `%%mytimeit` is an alias of `%timeit`.