aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSteve Bennett <steveb@workware.net.au>2023-06-22 15:20:34 +1000
committerSteve Bennett <steveb@workware.net.au>2023-07-04 10:08:32 +1000
commitc33f287435a41fa94aa494c315ecdb628322f72a (patch)
tree51371488119405e72434b99028425834f3969e97
parentf8df8ac0f6d418eb33cdd401f01ee6f68571a219 (diff)
downloadjimtcl-c33f287435a41fa94aa494c315ecdb628322f72a.zip
jimtcl-c33f287435a41fa94aa494c315ecdb628322f72a.tar.gz
jimtcl-c33f287435a41fa94aa494c315ecdb628322f72a.tar.bz2
initjimsh: update autocomplete, stdhint
To add new commands that now support -help, -commands Signed-off-by: Steve Bennett <steveb@workware.net.au>
-rw-r--r--initjimsh.tcl6
1 files 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}