Warning
This documentation is for an old version of IPython. You can find docs for newer versions here.
System command aliases.
Authors:
Bases: exceptions.Exception
Bases: IPython.config.configurable.Configurable
Call an alias given its name and the rest of the line.
Define a new alias after validating it.
This will raise an AliasError if there are validation problems.
Expand an alias in the command line
Returns the provided command line, possibly with the first word (command) translated according to alias expansion rules.
Expand multiple levels of aliases:
if:
alias foo bar /tmp alias baz foo
then:
baz huhhahhei -> bar /tmp huhhahhei
Define an alias, but don’t raise on an AliasError.
Transform alias to system command string.
Validate an alias and return the its number of arguments.