[IPython-user] newbie: how to alias a command permanently to a disk location

Simon J. Hook simon.j.hook@jpl.nasa....
Sun May 20 13:21:04 CDT 2007


Hi,

I want to alias a command. If I start ipython and type:

alias mywork cd e:\windows

this appears to work by then typing

mywork

but when I do an ls I have not moved directory?

Eventually I would like to add this to a user configuration file, so if 
someone knows how to do that as well it would be much appreciated.

Thanks, Simon








More information about the IPython-user mailing list