offbytwo / cljenv

Utilities for creating and managing multiple clojure environments

This URL has Read+Write access

commit  dcc767f794666c4c6f15fdec71a79714f2e68982
tree    d6a0f2cade0cebf0546caaaf905107b649497107
parent  993651d1c7d068fd8edb386b063a6069c7991bb9
cljenv /
name age message
file .gitmodules Loading commit data...
file README
directory bin/
file default_cljenv
directory emacs/
file epl-v10.html Thu Jun 04 22:44:45 -0700 2009 added the text to the epl-v10 license [cosmin]
directory lib/
file update-externals.sh
README
CLJENV

Installation:

  To start using CLJENV you just have to source the bin/source file.
  Currently only BASH 3 or later or ZSH are supported.

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