Skip to content

Instantly share code, notes, and snippets.

View sjanahan's full-sized avatar

Janahan Sivaraman sjanahan

View GitHub Profile
@sjanahan
sjanahan / jwenv.sh
Last active October 27, 2017 19:56 — forked from donato/jwenv.sh
Set JW Environment variables
# !/bin/bash
# This has two assumptions
# 1. Virtual environment set up in ~/venv/{project-name}
# 2. Configuration for configuration set up in ~/salt/{project-name}
# Given the name of the project as parameter
# $jwenv mini-batch
function project_name {
if [ -z $1 ];
then