From abda28b2763e48f8b6b77220a677c1cdeb5d8970 Mon Sep 17 00:00:00 2001 From: Robin Haberkorn Date: Mon, 24 Nov 2014 07:31:40 +0100 Subject: introduced $SCITECOCONFIG env variable, and set different default for $SCITECOPATH on Windows * $SCITECOCONFIG has been introduced, so have a macro-accessible location for the profile, buffer session etc. This is set to the program dir on Windows. That way, the config files will be found, regardless of the current working dir, but it may also be set up for Unix-like environments on Windows. * $SCITECOPATH defaults to the program dir + "/lib" now on Windows. * The default profile is now always called ".teco_ini". Also on Windows. Platform differences like this would need to be documented. * The sample teco.ini has been renamed to "sample.teco_ini" for clarity --- lib/session.tes | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib/session.tes') diff --git a/lib/session.tes b/lib/session.tes index 3dfb05f..99dce52 100644 --- a/lib/session.tes +++ b/lib/session.tes @@ -2,7 +2,7 @@ ! Path of the session profile. Change this to save/load a custom profile ! -EU[session.path]Q[$HOME]/.teco_session +EU[session.path]Q[$SCITECOCONFIG]/.teco_session ! Save current session to the file specified by "session.path" ! @[session.save]{ -- cgit v1.2.3