|
From: | Ben Abbott |
Subject: | Re: octaverc and version in path? |
Date: | Sat, 29 Dec 2007 15:30:17 +0800 |
On Dec 29, 2007, at 10:21 AM, Ben Abbott wrote:
An example of how (3) might be implemented is to modify savepath.m in order to produce an .octaverc like that below. ## Begin savepath auto-created section, do not edit path ([pathdef,pathsep,'/Users/bpabbott']); ## End savepath auto-created section The version specific path is implicitly handled by "pathdef" and the localized portion is explicitly added to the end. This means that the '-begin' and '-end' options of addpath may be muddled by the savepath when octave is restarted. It might also be useful to check the path at startup to verify each directory in the path actually exists. If not a warning can be given and it non-existent directory can be pruned from the working path. Thoughts? Ben |
[Prev in Thread] | Current Thread | [Next in Thread] |