<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
		<id>https://www.computercraft.info/wiki/index.php?action=history&amp;feed=atom&amp;title=Shell.completeProgram</id>
		<title>Shell.completeProgram - Revision history</title>
		<link rel="self" type="application/atom+xml" href="https://www.computercraft.info/wiki/index.php?action=history&amp;feed=atom&amp;title=Shell.completeProgram"/>
		<link rel="alternate" type="text/html" href="https://www.computercraft.info/wiki/index.php?title=Shell.completeProgram&amp;action=history"/>
		<updated>2026-07-11T07:54:32Z</updated>
		<subtitle>Revision history for this page on the wiki</subtitle>
		<generator>MediaWiki 1.24.1</generator>

	<entry>
		<id>https://www.computercraft.info/wiki/index.php?title=Shell.completeProgram&amp;diff=7180&amp;oldid=prev</id>
		<title>Bomb Bloke: Created page with &quot;{{lowercase}} {{Function |name=shell.completeProgram |args= {{Type|string}} partial path |returns={{Type|table}} completion list |api=shell |addon=ComputerCraft |desc=Added by...&quot;</title>
		<link rel="alternate" type="text/html" href="https://www.computercraft.info/wiki/index.php?title=Shell.completeProgram&amp;diff=7180&amp;oldid=prev"/>
				<updated>2015-08-02T00:22:30Z</updated>
		
		<summary type="html">&lt;p&gt;Created page with &amp;quot;{{lowercase}} {{Function |name=shell.completeProgram |args= {{Type|string}} partial path |returns={{Type|table}} completion list |api=shell |addon=ComputerCraft |desc=Added by...&amp;quot;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;{{lowercase}}&lt;br /&gt;
{{Function&lt;br /&gt;
|name=shell.completeProgram&lt;br /&gt;
|args= {{Type|string}} partial path&lt;br /&gt;
|returns={{Type|table}} completion list&lt;br /&gt;
|api=shell&lt;br /&gt;
|addon=ComputerCraft&lt;br /&gt;
|desc=Added by ComputerCraft 1.74, shell.completeProgram() can be passed a partial file or directory name, and returns a numerically indexed table containing strings that could be used to complete it.&lt;br /&gt;
&lt;br /&gt;
Unlike [[fs.complete]](), it also checks against [[shell.aliases|aliases]] and programs available via [[shell.path|the path environment variable]] - unless an absolute path beginning with / is specified.&lt;br /&gt;
&lt;br /&gt;
See also: [[textutils.complete]](), [[shell.complete]](), [[shell.setCompletionFunction]](), [[fs.complete]]() and [[help.completeTopic]]().&lt;br /&gt;
|examples=&lt;br /&gt;
{{Example&lt;br /&gt;
|desc=Prints a list of suffixes that could be combined with &amp;quot;t&amp;quot; to get script titles.&lt;br /&gt;
|code=&lt;br /&gt;
 [[textutils.tabulate]]( shell.completeProgram( &amp;quot;t&amp;quot; ) )&lt;br /&gt;
|output=ime, ype, plus any suffixes for files matching in the current folder.&lt;br /&gt;
}}&lt;br /&gt;
{{Example&lt;br /&gt;
|desc=Prints a list of suffixes that could be combined with &amp;quot;/t&amp;quot; to get script titles.&lt;br /&gt;
|code=&lt;br /&gt;
 [[textutils.tabulate]]( shell.completeProgram( &amp;quot;/t&amp;quot; ) )&lt;br /&gt;
|output=Any suffixes for files matching in the system root directory only.&lt;br /&gt;
}}&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
[[Category:API_Functions]]&lt;/div&gt;</summary>
		<author><name>Bomb Bloke</name></author>	</entry>

	</feed>