check for tty
This commit is contained in:
parent
b9d9af9505
commit
debdc72835
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue