dotfiles

Unnamed repository; edit this file 'description' to name the repository.
Log | Files | Refs | README

commit 65b9797e4a6e2aa358bdee71e16bd260be10eeb5
parent 89e34541e948cb826b9316b051a478b340aa81b6
Author: Janis Pagel <janis.pagel@ims.uni-stuttgart.de>
Date:   Sat, 31 Aug 2019 16:42:42 +0200

Add anaconda support

Diffstat:
Mzsh/zshrc | 19+++++++++++++++++++
1 file changed, 19 insertions(+), 0 deletions(-)

diff --git a/zsh/zshrc b/zsh/zshrc @@ -166,3 +166,22 @@ if [ "$TERM" = "linux" ]; then setterm --foreground green --bold on --store # set foreground color clear; fi + +# added by travis gem +[ -f /home/janis/.travis/travis.sh ] && source /home/janis/.travis/travis.sh + +# >>> conda initialize >>> +# !! Contents within this block are managed by 'conda init' !! +__conda_setup="$('/home/janis/anaconda3/bin/conda' 'shell.zsh' 'hook' 2> /dev/null)" +if [ $? -eq 0 ]; then + eval "$__conda_setup" +else + if [ -f "/home/janis/anaconda3/etc/profile.d/conda.sh" ]; then + . "/home/janis/anaconda3/etc/profile.d/conda.sh" + else + export PATH="/home/janis/anaconda3/bin:$PATH" + fi +fi +unset __conda_setup +# <<< conda initialize <<< +