#!/usr/bin/env bash
#
# Set bash env variables for {{name}}.
#
# Generated by {{generator}} on {{today}},
# from a template provided by {{ pkg.name }}.
#

source "$(dirname $BASH_SOURCE[0])/_helper.sh"

### Verify script ###

assert_sourced $0 ${BASH_SOURCE[0]}


### Set variables ###

echo "Set env1 variables:"
export_variable "NODE_ENV" "{{name}}"
{{#each params.vars}}export_variable "{{@key}}" "{{this}}"
{{/each}}
# (Add your custom variables here if needed.)
# export_variable "__your_env_key__" "__your_env_val__"
echo ""


### Modify prompt ###
set_prompt_prefix "\\[\e{{{params.color}}}\\]${NODE_ENV}\\[\e[0m\\]"

