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 examples done by default.
For more complex definitions, see macro
. See also unalias
and show alias
.