Last active
April 7, 2017 21:03
-
-
Save nathansizemore/c080f980fb380224c907 to your computer and use it in GitHub Desktop.
macOS bash settings
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
# Prompt | |
export PS1="\[\033[36m\]\u\[\033[m\]@\[\033[32m\]\h:\[\033[33;1m\]\w\[\033[m\]\$ " | |
# Terminal colors | |
export CLICOLOR=1 | |
export LSCOLORS=ExFxBxDxCxegedabagacad | |
# ls | |
alias ls="ls -lGAFh" | |
# SourceHighlight (cat w/syntax-highlighting) | |
alias ccat="source-highlight --out-format=esc -o STDOUT -i" | |
# Unity on macOS (Quick access to opening more than 1 Unity process) | |
alias unity="open /Applications/Unity-5.6.0f3/Unity.app/Contents/MacOS/Unity" | |
# C/C++ toolchains | |
TC_DIR=${HOME}/development/toolchain | |
TC_GNU=${TC_DIR}/gnu | |
TC_LLVM=${TC_DIR}/llvm | |
TC_TARGET=x86_64-apple-darwin | |
# Java | |
export JAVA_HOME=$(/usr/libexec/java_home) | |
# Android | |
TC_ANDROID=${TC_DIR}/android | |
alias android=${TC_ANDROID}/tools/android | |
alias adb=${TC_ANDROID}/platform-tools/adb | |
alias fastboot=${TC_ANDROID}/platform-tools/fastboot | |
# PATH | |
export PATH=${TC_GNU}/${TC_TARGET}/bin:${PATH} | |
export PATH=${TC_LLVM}/${TC_TARGET}/bin:${PATH} | |
export PATH=${HOME}/.cargo/bin:${PATH} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment