check for tty

This commit is contained in:
Daylin Morgan 2022-07-28 11:26:53 -05:00
parent b9d9af9505
commit debdc72835

View file

@ -19,4 +19,4 @@ if [ -f "$HOME/mambaforge/etc/profile.d/mamba.sh" ]; then
fi
# <<< conda initialize <<<
[ -d "$HOME/mambaforge/envs/dev" ] && conda activate dev
! is-tty && [ -d "$HOME/mambaforge/envs/dev" ] && conda activate dev