# Bash shell commands to define IDL environment variables and aliases.
#
# This script can be used by IDL users who use Bash as their interactive shell
# to define the environment variables and aliases required by IDL
# related commands (idl, idlde, idlhelp, idldemo) if the symbolic links to
# the default directory (/usr/local/itt/idl) are not being used.
#
# Bash users should run idl_setup from their .profile file
# using the following command:
#
#    . /usr/local/itt/idl70/bin/idl_setup.bash
#

# Change and uncomment below if a network license is to be used
#LM_LICENSE_FILE=1700@ServerName
#export LM_LICENSE_FILE

ITT_DIR=/usr/local/itt
IDL_DIR=/usr/local/itt/idl
export IDL_DIR ITT_DIR
alias ittlicense=$IDL_DIR/bin/ittlicense
alias idl=$IDL_DIR/bin/idl
alias idlde=$IDL_DIR/bin/idlde
alias idlhelp=$IDL_DIR/bin/idlhelp
alias idlman=$IDL_DIR/bin/idlman
alias idlrpc=$IDL_DIR/bin/idlrpc
alias idldemo=$IDL_DIR/bin/idldemo

if test -d $HOME/IDL ; then
  IDL_PATH="<IDL_DEFAULT>":\+$HOME/IDL
  export IDL_PATH
fi

if test -e $HOME/.idl_startup ; then
  IDL_STARTUP=$HOME/.idl_startup
  export IDL_STARTUP
fi
