aboutsummaryrefslogtreecommitdiffhomepage
path: root/lib
diff options
context:
space:
mode:
authorRobin Haberkorn <robin.haberkorn@googlemail.com>2014-11-24 07:31:40 +0100
committerRobin Haberkorn <robin.haberkorn@googlemail.com>2014-11-24 07:46:01 +0100
commitabda28b2763e48f8b6b77220a677c1cdeb5d8970 (patch)
treef1b533fcb85b8e32001bd8e4183768fc2631ac67 /lib
parent7b11290de97fa6cb2dabfbd6d2099da875ccc099 (diff)
downloadsciteco-abda28b2763e48f8b6b77220a677c1cdeb5d8970.tar.gz
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
Diffstat (limited to 'lib')
-rw-r--r--lib/session.tes2
1 files changed, 1 insertions, 1 deletions
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]{