Skip to content

Instantly share code, notes, and snippets.

@fzliu
Last active February 1, 2016 19:40
Show Gist options
  • Save fzliu/202093898ecc43dd447a to your computer and use it in GitHub Desktop.
Save fzliu/202093898ecc43dd447a to your computer and use it in GitHub Desktop.
OS X terminal configuration.
# Display full path in terminal
export PS1="\u@\H:\w$ "
# Set architecture flags
export ARCHFLAGS="-arch x86_64"
# Ensure user-installed binaries take precedence
export PATH=/usr/local/bin:$PATH
# Load .bashrc if it exists
test -f ~/.bashrc && source ~/.bashrc
# Export Python path
export PYTHONPATH=$HOME/code/fzliu/caffe/python
# Export path to CUDA binaries and libs
export PATH=$PATH:/usr/local/cuda/bin:$HOME/code/fzliu/caffe/build/tools
export DYLD_LIBRARY_PATH=/usr/local/cuda/lib:$HOME/code/fzliu/caffe/build/lib
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment