Installation
$ npm install setenv
Usage
var setenv = setenv;
Functionality
-
on Windows: SetX command is used
-
on Linux: depending on the used shell one of the following files will be modified
sed shell modified file bash: ~/.bashrc zsh: ~/.zshrc tcsh or csh: ~/.login other: ~/.profile Note: before any of the previous files is altered, a security copy will be created.
Tests
To run the test suite, first install the dependencies, then run npm test
:
$ npm install$ npm test