aboutsummaryrefslogtreecommitdiff
path: root/initjimsh.tcl
AgeCommit message (Collapse)AuthorFilesLines
2023-07-04initjimsh: update autocomplete, stdhintSteve Bennett1-3/+3
To add new commands that now support -help, -commands Signed-off-by: Steve Bennett <steveb@workware.net.au>
2023-07-04interactive: enable hint supportSteve Bennett1-1/+58
And add a default implementation of tcl::stdhint to add hinting for some built-in commands. Signed-off-by: Steve Bennett <steveb@workware.net.au>
2016-10-11improve example autocompletion function to complete partially typed argumentsHummyPkg1-2/+4
2016-10-06autocomplete: add global $tcl::autocomplete_commandsSteve Bennett1-1/+4
Contains commands that suport -commands, to make it easy to add custom commands without replacing the default tcl::autcomplete (although that is still the recommended approach) Signed-off-by: Steve Bennett <steveb@workware.net.au>
2016-10-06add filename completion for source commandHummyPkg1-0/+7
2016-09-29jimsh: Scriptable command-line completion supportSteve Bennett1-0/+21
via tcl::autocomplete Signed-off-by: Steve Bennett <steveb@workware.net.au>
2014-10-30initjimsh: jim::argv0 is not always availableSteve Bennett1-10/+13
Signed-off-by: Steve Bennett <steveb@workware.net.au>
2014-10-28Fix [info nameofexecutable] after [cd]Steve Bennett1-6/+22
If argv0 is a relative path, [info nameofexecutable] returned the wrong result after changing directory. So calculate and stash the result during init. Also move internal $jim_argv0 into namespace jim as $jim::argv0 Signed-off-by: Steve Bennett <steveb@workware.net.au>
2014-10-15jimsh: change order of default $auto_pathSteve Bennett1-1/+1
Add directory containing jimsh before JIM_LIBPATH Helps with running uninstalled jimsh Signed-off-by: Steve Bennett <steveb@workware.net.au>
2011-07-13Add tcl_platform(pathSeparator)Steve Bennett1-0/+27
Tcl compatible. Also move jimsh initialisation script into initjimsh.tcl Signed-off-by: Steve Bennett <steveb@workware.net.au>