Environment variables can be interrogated, at least in Linux (perhaps other OS's, I haven't tried), via OSProcess: OSProcess thisOSProcess environment Hope that helps.. On Tue, Apr 20, 2010 at 4:21 PM, Michael Roberts <mike@mjr104.co.uk> wrote:
i'm not sure what either of you mean. I want there to be no UI choice and the system just looks higher up in the file system hierarchy.
certainly environment variables or a .pharorc style file would solve this.
thanks, Mike
On Tue, Apr 20, 2010 at 6:33 PM, Chris Muller <asqueaker@gmail.com> wrote:
Whether the user is required to specify a "default directory" or a directory to a repository, it's the same task isn't it?
Once you add it once to MC, it can be "added" to any other package. So this defaultDirectory would seem to be a feature not worth its weight..
On Mon, Apr 19, 2010 at 6:00 PM, Sean P. DeNigris <sean@clipperadams.com> wrote:
http://code.google.com/p/pharo/issues/detail?id=2329
Pharo image: Pharo 1.0
In Monticello Browser, when I click "+Repository" and select "directory," I'd love to be taken right to the directory where I keep my local repositories, instead of having to click to the same place over and over.
I changed the following method: MCDirectoryRepository class>>morphicConfigure     ^ (UIManager default chooseDirectoryFrom: (FileDirectory on: '/path/to/my/Repositories')) ifNotNil:         [:directory |         self new directory: directory]
How should I store the default repository directory? Â Would anyone else find this helpful?
Sean DeNigris -- View this message in context: http://n4.nabble.com/FEATURE-User-chooses-preferred-location-for-MC-director... Sent from the Pharo Smalltalk mailing list archive at Nabble.com.
_______________________________________________ Pharo-project mailing list Pharo-project@lists.gforge.inria.fr http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
_______________________________________________ Pharo-project mailing list Pharo-project@lists.gforge.inria.fr http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
_______________________________________________ Pharo-project mailing list Pharo-project@lists.gforge.inria.fr http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project