Skip to content

Instantly share code, notes, and snippets.

@mschmulen
Created January 21, 2021 18:01
Show Gist options
  • Save mschmulen/fa77d958000134546028dba8e9424327 to your computer and use it in GitHub Desktop.
Save mschmulen/fa77d958000134546028dba8e9424327 to your computer and use it in GitHub Desktop.
bash_profile_simple
# terminal colors
export CLICOLOR=1
# export LSCOLORS=GxFxCxDxBxegedabagaced
export LSCOLORS=exfxcxdxbxegedabagacad
# test mate
# export EDITOR="/usr/local/bin/mate -w"
# Android Studio
# export PATH="$PATH:[PLATFORM-TOOLS-PATH-HERE]/platform-tools"
# Auto completion git
# step1: https://raw.githubusercontent.com/git/git/master/contrib/completion/git-completion.bash -o ~/.git-completion.bash
if [ -f ~/.git-completion.bash ]; then
. ~/.git-completion.bash
fi
# ==> ruby
# By default, binaries installed by gem will be placed into:
# /usr/local/lib/ruby/gems/2.7.0/bin
#
# You may want to add this to your PATH.
#
# ruby is keg-only, which means it was not symlinked into /usr/local,
# because macOS already provides this software and installing another version in
# parallel can cause all kinds of trouble.
#
# If you need to have ruby first in your PATH run:
# echo 'export PATH="/usr/local/opt/ruby/bin:$PATH"' >> /Users/matt/.bash_profile
#
# For compilers to find ruby you may need to set:
# export LDFLAGS="-L/usr/local/opt/ruby/lib"
# export CPPFLAGS="-I/usr/local/opt/ruby/include"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment