- Choose your team by setting
BASE_TEAMvariable inside youruser/<username>.shscript. - Place team-specific commands inside
<team name>/bindirectory - Place team-specific shell libraries inside
<team_name>/libdirectory - Two libraries under
<team_name>/libhave special meaning:<team_name>.sh- always sourced bybase_init.shbashrc- sourced bybase_init.shif the invoking shell is interactive
base_init.shadds$BASE_HOME/team/$BASE_TEAM/bintoPATH.
-
To share libraries and commands of other teams, set
BASE_SHARED_TEAMSvariable insideuser/<username>.shscript.base_init.shadds shared teams bin directory toPATH- Shared team's
<shared_team_name>/lib/<shared_team_name>.shlibraries orbashrcare not automatically sourced in
-
To source in a team's library, use the
importfunction (defined inlib/stdlib.sh):import lib/<library>.sh import team/<team name>/<library>.sh