Shell.setAlias
From ComputerCraft Wiki
Revision as of 02:11, 12 May 2013 by TheVarmari (Talk | contribs) (Changed program argument from optional to required. My bad.)
Function shell.setAlias | |
Sets an alias. | |
Syntax | shell.setAlias(string alias, string program) |
Returns | nil |
Part of | ComputerCraft |
API | shell |
Examples
Example | |
Sets the alias for program "startup". | |
Code |
shell.setAlias("start", "startup") |
Additional Notes
- It does not output anything, it just sets the alias.