Created
February 22, 2019 12:03
-
-
Save kyzmitch/8457d96193e1f084a054a94fa4389c64 to your computer and use it in GitHub Desktop.
Bash profile
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
alias ls="ls -la" | |
alias cd..="cd .." | |
alias cd...="cd ../.." | |
alias cd....="cd ../../.." | |
alias ..="cd .." | |
alias ...="cd ../.." | |
alias ....="cd ../../.." | |
export EDITOR=/usr/bin/vi | |
PATH=$PATH:${HOME}/.fastlane/bin | |
PATH=$PATH:${HOME}/.bin | |
# Setting PATH for Python 3.7 | |
PATH="/Library/Frameworks/Python.framework/Versions/3.7/bin:${PATH}" | |
export PATH | |
# alias swift="/Library/Developer/Toolchains/swift-4.0.2-RELEASE.xctoolchain/usr/bin/swift" | |
Additional updates to the file specific to Homebrew:
PATH=$PATH:/opt/homebrew/bin
PATH=$PATH:/opt/homebrew/Cellar/openjdk@17/17.0.8.1/bin
PATH=$PATH:/opt/homebrew/Cellar/pyenv/2.3.30/bin
PATH=$PATH:/opt/homebrew/Cellar/xcodes/1.4.1/bin
PATH=$PATH:${HOME}/.bin
export PATH
JAVA_HOME=/opt/homebrew/Cellar/openjdk@17/17.0.8.1
export JAVA_HOME
# Get python from pyenv
export PYENV_ROOT="$HOME/.pyenv"
export PATH="$PYENV_ROOT/bin:$PATH"
export PIPENV_PYTHON="$PYENV_ROOT/shims/python"
plugin=(
pyenv
)
eval "$(pyenv init --path)"
Add go modules executable:
PATH="$HOME/go/bin:$PATH"
for example after you run go install github.com/markphelps/optional/cmd/[email protected]
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
for ANDROID_HOME need to add following in addition: