Sets up an alias for a command or a string.
alias alias new-name command alias new-name [(parameters)] "string"
Use the alias command to set up an alias for a command or a string. When commands are processed, Prism first checks if the word is an alias for either a command or a string. If it is an alias, Prism treats the input as though the corresponding string (with values substituted for any parameters) had been entered.
For example, to define an alias rr for the command rerun, issue the command
alias rr rerun
To define an alias called b that sets a breakpoint at a particular line, you can issue the command
alias b(x) "stop at x"
You could then issue the command b(12), which Prism expands to
stop at 12
Prism sets up some aliases for you automatically. Issue alias with no parameters to list the current set of aliases.
Issue the unalias command to remove an alias.