shell.aliases

From ComputerCraft Wiki
Revision as of 13:15, 29 March 2013 by SuicidalSTDz (Talk | contribs)

Jump to: navigation, search


Grid Redstone.png  Function shell.aliases
Returns a table containing the default aliases and user specified aliases
Syntax shell.aliases()
Returns A table containing default and set aliases.
Part of ComputerCraft
API Shell

Examples

Grid paper.png  Example
This code will return all set aliases
Code
for k,v in pairs(shell.aliases()) do
print(v)
end