Many of the tmsh commands that are available for scripting are also available in the interactive shell. A script can use the command tmsh::builtin_tabc to present the same tab completion results as a built-in command. The command does not return a value. The set of possible completions are stored internally and displayed when the procedure script::tabc returns. Note that this command has an effect only if the Tcl variable $tmsh::csh is set to TABC.


tmsh::builtin_tabc ["tmsh command" args...]


proc script::tabc { } {
    if { $tmsh::argc < 2 } {
    tmsh::add_tabc config
    tmsh::add_tabc status
    else {
    build''csh tmsh::builtin''tabc