Skip to content

Commit

Permalink
loki tweaks
Browse files Browse the repository at this point in the history
  • Loading branch information
doutriaux1 committed Jan 24, 2019
1 parent 24fa3ba commit d6b945e
Show file tree
Hide file tree
Showing 4 changed files with 16 additions and 16 deletions.
20 changes: 5 additions & 15 deletions .bash_local
Original file line number Diff line number Diff line change
Expand Up @@ -33,13 +33,16 @@ case "$h" in
sierra*)
CDATBUILDS="/usr/gapps/uvcdat/chaos_5_x86_64_ib/default"
ANACONDA_HOME=/usr/gapps/uvcdat/anaconda2;;
loki*)
CDATBUILDS="/usr/local/uvcdat"
ANACONDA_HOME=${HOME}/miniconda3;;
*)
CDATBUILDS="/usr/local/uvcdat"
ANACONDA_HOME=${HOME}/anaconda2;;
esac
case `uname` in
Darwin*)
;;
alias code="/Applications/Visual\ Studio\ Code.app/Contents/MacOS/Electron";;
*)
#xmodmap -e "keycode 66 = Shift_L";;
esac
Expand Down Expand Up @@ -122,6 +125,7 @@ gcbd() {
alias pb="python setup.py install"
alias p="ipython"
PYTHONSTARTUP=${HOME}/.pythonrc
export PATH=${PATH}:/Library/TeX/Distributions/.DefaultTeX/Contents/Programs/x86_64
## Make sure my python paths do not get mangled
unset DYLD_LIBRARY_PATH
unset DYLD_FALLBACK_LIBRARY_PATH
Expand All @@ -146,19 +150,6 @@ smv() {
rsync -az --remove-source-files "$@";
}

# old setpy for cmake builds of uvcdat
setpy_cmake() {
if [ $# == 0 ]; then
pth=$(mostrecentdir ${CDATBUILDS})
else
pth=$1
fi
unset UVCDAT_SETUP_PATH
unset OPAL_PREFIX
echo "Using "${pth}" Python"
source ${CDATBUILDS}/${pth}/bin/setup_runtime.sh
}

# Newer setpy using anaconda envs
setpy() {
if [ $# == 0 ]; then
Expand Down Expand Up @@ -265,7 +256,6 @@ unset UVCDAT_SETUP_PATH
export PATH=${ANDROIDPATH}:${PATH}:/usr/local/mysql/bin
export PATH=${ANDROIDPATH}:${PATH}:${HOME}/bin:/usr/local/mysql/bin
echo "ANACONDA:"${ANACONDA_HOME}
export PATH=${ANACONDA_HOME}/bin:$PATH


# Stuff I don't want from Gavin's repo
Expand Down
8 changes: 8 additions & 0 deletions .condarc
Original file line number Diff line number Diff line change
@@ -1,3 +1,11 @@
channels:
#- cdat/label/v80
# - conda-forge
# - cdat
- defaults

ssl_verify: 'false'

changeps1: true

anaconda_upload: false
3 changes: 2 additions & 1 deletion .pythonrc
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import readline
"""
# import rlcompleter
readline.parse_and_bind("tab: complete")
import sys
Expand Down Expand Up @@ -49,3 +49,4 @@ def Classes(obj, firsttime=True):
res.update(Classes(c, False))
return res

"""
1 change: 1 addition & 0 deletions .vimrc
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
set ruler
set nonu
set ff=unix
set modeline
Expand Down

0 comments on commit d6b945e

Please sign in to comment.