-
Notifications
You must be signed in to change notification settings - Fork 1
/
albion_profile
41 lines (38 loc) · 1.66 KB
/
albion_profile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
# -*- sh -*-
######################################################################
# Copyright 2010 Bryan Murdock <[email protected]>
#
# This file is part of albion.
#
# albion is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation, either version 3 of the License, or
# (at your option) any later version.
#
# albion is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with albion. If not, see <http://www.gnu.org/licenses/>.
######################################################################
#
# sets up login part of albion
#
# source this at the top of your ~/.profile or ~/.bash_profile, before
# shell rc (e.g., ~/.bashrc) is sourced
#
######################################################################
# these paths can be anything, these are just some examples:
export ALBION_ENVS_PATH="$HOME/.local_albion/envs:/opt/albion-stuff/envs:$HOME/work/env-manager/examples/envs"
export ALBION_CONFIGS_PATH="$HOME/.local_albion/configs:/opt/albion-stuff/configs:$HOME/work/env-manager/examples/configs"
export ALBION_CONFIGS_LOADED=""
# path to the albion.py executable, this is just where my local hg
# repo is:
export PATH_TO_ALBION="$HOME/work/env-manager"
# there's an environment named default, but it could be named anything
DEFAULT_ENV="default"
if [ -z "$ALBION_ENV" ]; then
export ALBION_ENV="$DEFAULT_ENV"
fi