BashCompletion

Interactive bash completion. Completion logic is handled by this program.

class Object
trait Matchable
class Any

Value members

Concrete methods

def completeOrFalse(paramInfos: Seq[ParamInfo], commandInfos: Seq[CommandInfo], env: Map[String, String], args: Iterable[String], stdout: PrintStream): Boolean

Check if tab completion is requested and print completions.

Check if tab completion is requested and print completions.

Returns false if no completions were requested. This function assumes that it has been called in an environment set by complete -C.

See man bash (search for Programmable Completion) for more information.