Skip to content

Commit f41af8f

Browse files
authored
Merge pull request #26973 from GiudGiud/PR_conda_life
Help occasional conda users use moose environment by default
2 parents b736baf + 5482bc2 commit f41af8f

File tree

1 file changed

+9
-1
lines changed

1 file changed

+9
-1
lines changed

modules/doc/content/getting_started/installation/install_conda_moose.md

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,4 +21,12 @@ If you are running into errors, please see our
2121
!alert note
2222
Know that you will need to `conda activate moose` for +each terminal window you open, and each time
2323
you wish to perform MOOSE related work+. If you wish to make this automatic, you can add that
24-
command to the end of your shell profile.
24+
command to the end of your shell profile with the command below:
25+
26+
```bash
27+
if [[ "$0" = *"bash" ]]; then
28+
echo "conda activate moose" >> ~/.bash_profile
29+
elif [[ "$0" = "zsh" ]]; then
30+
echo "conda activate moose" >> ~/.zshrc
31+
fi
32+
```

0 commit comments

Comments
 (0)