From 7bf15c572921d165c5580533bb5450c24ae0630b Mon Sep 17 00:00:00 2001 From: Daniel Bauer Date: Sat, 23 Mar 2019 16:26:40 +0100 Subject: [PATCH] install miniconda --- install.sh | 15 ++++++++++++--- profiles/base/.environment | 2 +- profiles/base/.zshrc | 4 ++-- 3 files changed, 15 insertions(+), 6 deletions(-) diff --git a/install.sh b/install.sh index 3224e46..c43d6ba 100755 --- a/install.sh +++ b/install.sh @@ -25,9 +25,18 @@ else echo "Powerlevel9k already exists." fi -# linking base stuff +# Conda +if [ ! -d "$HOME/conda" ]; then + echo "Installing Conda" + wget https://repo.continuum.io/miniconda/Miniconda3-latest-Linux-x86_64.sh -O /tmp/miniconda.sh + bash /tmp/miniconda.sh -b -p ~/conda + rm /tmp/miniconda.sh +else + echo "Conda already installed" +fi + +# linking dotfiles $HOME/.dotfiles/dotfiles.sh link base -# TODO install anaconda # TODO install fasd -# TODO install marker \ No newline at end of file +# TODO install marker diff --git a/profiles/base/.environment b/profiles/base/.environment index 46cfd7c..5cd3351 100644 --- a/profiles/base/.environment +++ b/profiles/base/.environment @@ -13,7 +13,7 @@ export BAT_PAGER='less' # Path export PATH="$HOME/.cargo/bin:$PATH" -export PATH="$HOME/anaconda3/bin:${PATH}" # binaries +export PATH="$HOME/conda/bin:${PATH}" # binaries export PATH="$HOME/bin:${PATH}" # binaries export PATH="$HOME/scripts:${PATH}" # scripts export PATH="$HOME/.local/bin:${PATH}" # python executeables diff --git a/profiles/base/.zshrc b/profiles/base/.zshrc index 2133ece..6aa5fbd 100644 --- a/profiles/base/.zshrc +++ b/profiles/base/.zshrc @@ -12,9 +12,9 @@ export ZIM_HOME=${ZDOTDIR:-${HOME}}/.zim [[ -s ${ZIM_HOME}/init.zsh ]] && source ${ZIM_HOME}/init.zsh # source other dotfiles -source "$HOME/.environment" +source $HOME/.environment if [ -f "$HOME/.environment.local" ]; then - source "$HOME/.environment.local" + source $HOME/.environment.local fi source ".aliases"