Last active
April 29, 2018 16:06
-
-
Save dandydanny/8dbfb292d28dde73747a to your computer and use it in GitHub Desktop.
Useful .bash_profile entries I've collected for Mac OS X
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # Add rbenv to bash so that it loads every time you open a terminal | |
| if which rbenv > /dev/null; then eval "$(rbenv init -)"; fi | |
| #Homebrew dir | |
| export PATH=/usr/local/bin:/usr/local/sbin:$PATH | |
| export NVM_DIR="$HOME/.nvm" | |
| [ -s "$NVM_DIR/nvm.sh" ] && \. "$NVM_DIR/nvm.sh" # This loads nvm | |
| # Aliasing ls command with useful options | |
| alias ll='ls -lAhGF' | |
| # Following is from AceBook with commands for color: | |
| #Tell ls to be colorful | |
| export CLICOLOR=1 | |
| #Tell grep to highlight matches | |
| export GREP_OPTIONS='--color=auto' | |
| #LSCOLORS: different colors for different things | |
| export LSCOLORS=gxfxbEaEBxxEhEhBaDaCaD | |
| #NVIDIA stuff | |
| export CUDA_HOME=/usr/local/cuda | |
| export PATH=/Developer/NVIDIA/CUDA-9.1/bin${PATH:+:${PATH}} | |
| export DYLD_LIBRARY_PATH=/Developer/NVIDIA/CUDA-9.1/lib${DYLD_LIBRARY_PATH:+:${DYLD_LIBRARY_PATH}}export PATH="/usr/local/opt/opencv@2/bin:$PATH" | |
| #OpenCV stuff | |
| export PATH=/usr/local/opt/opencv@2/bin:$PATH |
Author
Author
Add NVM related lines
Author
Removed AceBook-specific lines re: Java environment setup
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Added lines from AceBook related to colored text output