Example

From Mu2eWiki
Revision as of 22:38, 21 September 2017 by Rlc (talk | contribs) (Created page with "<pre> # .bash_profile file for use by Mu2e accounts at Fermilab # # This file will be sourced at the start of all login shells. # # Intialize a the common UPS repository (comm...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search
# .bash_profile file for use by Mu2e accounts at Fermilab
#
# This file will be sourced at the start of all login shells.
#
# Intialize a the common UPS repository (common to all experiments)
#
upsfile="/cvmfs/fermilab.opensciencegrid.org/products/common/etc/setups.sh"
if [  -r "${upsfile}" ]; then
    . "${upsfile}"
fi
unset upsfile
#
# User configuration for login shells:
#
if [ -f "${HOME}/.my_bash_profile" ]; then
    source "${HOME}/.my_bash_profile"
fi
#
# User configuration for non-login shells.
#
if [ -f "${HOME}/.bashrc" ]; then
    source "${HOME}/.bashrc"
fi