#!/bin/bash -f
#------------------------------------------------------------------------------
# Script
#     bashrc
#
# Description
#     Startup File for extensions.
#     Sourced from ~/.bashrc
#
# Author 
#
#------------------------------------------------------------------------------

# extensions environment variables

#export WM_EXTENSIONS_VERSION=

etcDir="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"

export WM_EXTENSIONS_DIR=`realpath $etcDir/..`
export WM_EXTENSIONS=`basename $WM_EXTENSIONS_DIR`
export WM_EXTENSIONS_SRC=$WM_EXTENSIONS_DIR/src
export WM_HISA_DIR=$HOME/OpenFOAM/hisa

export PATH=${WM_EXTENSIONS_DIR}/bin:$PATH

alias ext='cd $WM_EXTENSIONS_DIR'

# -----------------------------------------------------------------------------
