Synopsis:

alias alias command

Add alias alias for a debugger command command.

Add an alias when you want to use a command abbreviation for a command that would otherwise be ambigous. For example, by default we make s be an alias of step to force it to be used. Without the alias, s might be step, show, or set, among others.

Examples:

alias cat list   # "cat file.pl" is the same as "list file.pl"
alias s   step   # "s" is now an alias for "step".
                 # The above "s" alias is initially set up, by
                 # default. But you can change or remove it.

See also:

macro — more complex definitions, unalias, and show aliases