shell.aliases
From ComputerCraft Wiki
Revision as of 13:09, 29 March 2013 by SuicidalSTDz (Talk | contribs) (Created page with "{{lowercase}} {{Function |name=shell.aliases |args=string path |api=Shell |returns=A table containing default and set aliases. If a path is specified, it will return a tab...")
| Returns a table containing the default aliases and user specified aliases | |
| Syntax | shell.aliases(string path) |
| Returns | A table containing default and set aliases. If a path is specified, it will return a table in which all the contents are part of that specific api/path |
| Part of | ComputerCraft |
| API | Shell |
Examples
| This code will define a path, 'fs', for shell.aliases to use. This wll return all functions relating to the 'fs' api | |
| Code |
for k,v in pairs(shell.aliases("fs")) do
|