#
# DO NOT EDIT THIS FILE!  Customize your shell in ~/.profile.d/*.sh, instead.
#

if [ "$BASH" -a -f "$HOME/.bashrc" ]
then . "$HOME/.bashrc"
fi

chgrp "tty" "$(tty)"
mesg y

for PATHNAME in "$HOME/.profile.d/"*".sh"
do . "$PATHNAME"
done

if [ "$(uname)" != "Darwin" ] && which "tmux" >"/dev/null" 2>"/dev/null" && [ -z "$TMUX" ]
then
    if tmux has-session
    then exec tmux attach -d
    else exec tmux new
    fi
fi