From c33f287435a41fa94aa494c315ecdb628322f72a Mon Sep 17 00:00:00 2001 From: Steve Bennett Date: Thu, 22 Jun 2023 15:20:34 +1000 Subject: initjimsh: update autocomplete, stdhint To add new commands that now support -help, -commands Signed-off-by: Steve Bennett --- initjimsh.tcl | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/initjimsh.tcl b/initjimsh.tcl index eab4ab4..6fa54c6 100644 --- a/initjimsh.tcl +++ b/initjimsh.tcl @@ -44,7 +44,7 @@ if {$tcl_platform(platform) eq "windows"} { } # Set a global variable here so that custom commands can be added post hoc -set tcl::autocomplete_commands {info tcl::prefix socket namespace array clock file package string dict signal history zlib} +set tcl::autocomplete_commands {array clock debug dict file history info namespace package signal socket string tcl::prefix zlib} # Simple interactive command line completion callback # Explicitly knows about some commands that support "-commands" @@ -76,8 +76,8 @@ proc tcl::autocomplete {prefix} { }] } -# Only commands that support "cmd -help subcommand" have autohint suport -set tcl::stdhint_commands {array clock file package signal history zlib} +# Only procs and C commands that support "cmd -help subcommand" have autohint suport +set tcl::stdhint_commands {array clock debug dict file history info namespace package signal string zlib} set tcl::stdhint_cols { none {0} -- cgit v1.1