# include Mycroft commands
#source ~/.profile_mycroft


#if command -v tmux &> /dev/null && [ -z "$TMUX" ]; then
#       tmux new-session -t default \; new-window || tmux new -s default -u
#fi

[[ -r ~/.env ]] && . ~/.env

if type dircolors > /dev/null 2>&1; then
	eval "$(dircolors ~/.dir_colors)"
fi

IS_ONLY_POSIX=1
if (eval '[[ 1 == 1 ]]' 2>/dev/null); then
	IS_ONLY_POSIX=0
fi

if [ ${IS_ONLY_POSIX} -eq 1 ]; then
	return
fi

[[ -r ~/.sh_functions ]] && . ~/.sh_functions
[ -r ~/.aliases ] && . ~/.aliases


[ "$TERM_PROGRAM" = "iTerm.app" ] && test -e "${HOME}/.iterm2_shell_integration.zsh" && export ITERM_ENABLE_SHELL_INTEGRATION_WITH_TMUX=YES && source "${HOME}/.iterm2_shell_integration.zsh"

