Difference between revisions of "Shell.aliases"

From ComputerCraft Wiki
Jump to: navigation, search
Line 12: Line 12:
 
}}
 
}}
 
}}
 
}}
 +
 
[[Category:API_Functions]]
 
[[Category:API_Functions]]

Revision as of 13:15, 29 March 2013


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