Skip to content

Commit

Permalink
update setup environment
Browse files Browse the repository at this point in the history
  • Loading branch information
d-laub committed Sep 12, 2024
1 parent 5474e2b commit ae4da83
Showing 1 changed file with 1 addition and 9 deletions.
10 changes: 1 addition & 9 deletions setup_env.sh
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@ fi

if [ ! -d "$HOME/miniforge3" ]; then
bash $HOME/Miniforge3-Linux-x86_64.sh -b
rm ~/Miniforge3-Linux-x86_64.sh
export PATH="$HOME/miniforge3/bin:$PATH"
mamba init
source ~/.bashrc
Expand All @@ -36,13 +37,4 @@ if [ ! -d "$HOME/miniforge3/envs/bootcamp" ]; then
mamba run -n bootcamp Rscript -e 'IRkernel::installspec(name="R_bootcamp", displayname="R (bootcamp)")'
fi

touch ~/.bash_profile
cat >> ~/.bash_profile << EOF
if [ -f ~/.bashrc ]; then
. ~/.bashrc
fi
EOF

rm ~/Miniforge3-Linux-x86_64.sh

echo Done!

0 comments on commit ae4da83

Please sign in to comment.