Skip to content

Commit

Permalink
add new location of default anaconda3
Browse files Browse the repository at this point in the history
  • Loading branch information
teuben committed Jul 7, 2023
1 parent 14a4660 commit daf3010
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 3 deletions.
4 changes: 3 additions & 1 deletion nemo_start.csh.in
Original file line number Diff line number Diff line change
Expand Up @@ -147,7 +147,9 @@ if (-e $NEMO/usr/zeno/ZENORC) source $NEMO/usr/zeno/ZENORC
if (-e $NEMO/nemo_local.csh) source $NEMO/nemo_local.csh
if (-e $HOME/.nemo_local.csh) source $HOME/.nemo_local.csh

if (-e $NEMO/python_start.csh) source $NEMO/python_start.csh
# optional python (anaconda3 should win)
if (-e $NEMO/python_start.csh) source $NEMO/python_start.csh
if (-e $NEMO/anaconda3/python_start.csh) source $NEMO/anaconda3/python_start.csh


set path = ( $NEMOBIN $NEMO/opt/bin $path )
Expand Down
6 changes: 4 additions & 2 deletions nemo_start.sh.in
Original file line number Diff line number Diff line change
Expand Up @@ -88,8 +88,10 @@ test -f $NEMO/usr/zeno/ZENORC && echo "No ZENO support for bash yet"
test -f $NEMO/nemo_local.sh && source $NEMO/nemo_local.sh
test -f $HOME/.nemo_local.sh && source $HOME/.nemo_local.sh

# optional python
test -f $NEMO/python_start.sh && source $NEMO/python_start.sh
# optional python (anaconda3 should win)
test -f $NEMO/python_start.sh && source $NEMO/python_start.sh
test -f $NEMO/anaconda3/python_start.sh && source $NEMO/anaconda3/python_start.sh


# optional dot check?
export PATH=$NEMOBIN:$NEMO/opt/bin:$PATH
Expand Down

0 comments on commit daf3010

Please sign in to comment.