Skip to content

Instantly share code, notes, and snippets.

@CarlosGrohmann
Last active June 6, 2018 00:20
Show Gist options
  • Save CarlosGrohmann/2ab64f02a88ad7f564fac6f55d9bf921 to your computer and use it in GitHub Desktop.
Save CarlosGrohmann/2ab64f02a88ad7f564fac6f55d9bf921 to your computer and use it in GitHub Desktop.
#bash_profile for my macs
#prompt
export PS1="\u:\W$ "
export LC_ALL=en_US.UTF-8
export LANG=en_US.UTF-8
# PATH
export PATH=/usr/local/sbin:/usr/local/bin:/Users/guano/Library/Python/2.7/bin:/usr/local/opt/gdal2/bin:/usr/local/opt/liblas-gdal2/bin:$PATH
# for homebrew GRASS
export GRASS_PYTHON=/usr/local/bin/pythonw
export PYTHONPATH=/usr/local/lib/python2.7/site-packages:/usr/local/lib/python2.7/site-packages/wx-3.0-osx_cocoa:$PATH
# grass python bindings
export GDAL_DRIVER_PATH=/usr/local/opt/gdal2-python/bin
export GDAL_DATA=/usr/local/opt/gdal2/share/gdal/
# ENVI
# source /Applications/exelis/envi52/bin/envi_setup.bash
# make alias for python3
alias python3='unset PYTHONPATH && python3'
# Setting PATH for Python 3.6
# PATH="/Library/Frameworks/Python.framework/Versions/3.6/bin:${PATH}"
# export PATH
# export PYTHONPATH=/usr/local/lib/python3.6/site-packages/
# aliases (from http://dobsondev.com/2014/02/21/customizing-your-terminal/)
alias st='/Applications/Sublime\ Text.app/Contents/SharedSupport/bin/subl'
alias ls='ls -GFh'
alias ll='ls -lah'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment