public
Description: Utilities for creating and managing multiple clojure environments
Homepage:
Clone URL: git://github.com/offbytwo/cljenv.git
cosmin (author)
Fri Jun 05 01:40:25 -0700 2009
commit  be06b55f0e3e7c532ba7829f041ea9d19aab75d0
tree    6d586021f7cfafae99f6ae7b585e68c20fe53c9e
parent  14f3446e5b0bc539f99800ce1eab5126c1091f4a
cljenv /
README
CLJENV

Installation:

  To start using CLJENV you just have to source the bin/source file.
  Currently only BASH 3 or later is supported, need someone to help with ZSH.

Default environments:

  USER: $HOME/.cljenv
  SYSTEM: /etc/cljenv/system_cljenv
  DEFAULT: /path/to/installation/folder/default_cljenv

Activating an environment:

  cljenv_autostart # activate the first environment of USER, SYSTEM, DEFAULT
  cljenv_autostart NOPS1 # activate the first env, but surpress PS1 modification
  
  cljenv_user # activate the user environment
  cljenv_system # activate the system environment
  cljenv_default # actiavte the default environment

  # use the following commmands to activate environments you create (see below)

  cljenv_activate # activate the environment in the current directory
  cljenv_activate path/to/env/folder # activate the given environment

Creating a new environment:

  cljenv_create # create a new environment in the current folder
  cljenv_create path_to_folder # create a new environment in the given folder

  After running cljenv_create edit the .cljenv file in either the current or
  specified folders to set your options for java, clojure, and clojure-contrib

Deactivating an environment:

  cljenv_deactivate # deactivate the currently active environment