shell.setAlias

From ComputerCraft
Jump to navigation Jump to search

shell.setAlias
Function
Syntax
shell.setAlias()
Returns nil
API shell
Source CC:Tweaked (source)

Set an alias.

ExampleExampleSet an Alias
Set "rd" as alias for "redirection".
Code
shell.setAlias("rd", "redirection")