From 28442e31d396752efa039fee7c2d805ba3a3d92c Mon Sep 17 00:00:00 2001 From: Steve Bennett Date: Sat, 11 Oct 2014 09:41:35 +1000 Subject: [PATCH] jimsh: change order of default $auto_path Add directory containing jimsh before JIM_LIBPATH Helps with running uninstalled jimsh Signed-off-by: Steve Bennett --- initjimsh.tcl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/initjimsh.tcl b/initjimsh.tcl index a764f3a..9ce9053 100644 --- a/initjimsh.tcl +++ b/initjimsh.tcl @@ -6,8 +6,8 @@ proc _jimsh_init {} { # Add to the standard auto_path lappend p {*}[split [env JIMLIB {}] $::tcl_platform(pathSeparator)] - lappend p {*}$::auto_path lappend p [file dirname [info nameofexecutable]] + lappend p {*}$::auto_path set ::auto_path $p if {$::tcl_interactive && [env HOME {}] ne ""} { -- 2.11.4.GIT