Skip to content

Instantly share code, notes, and snippets.

@kyzmitch
Created February 22, 2019 12:03
Show Gist options
  • Save kyzmitch/8457d96193e1f084a054a94fa4389c64 to your computer and use it in GitHub Desktop.
Save kyzmitch/8457d96193e1f084a054a94fa4389c64 to your computer and use it in GitHub Desktop.
Bash profile
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"
@kyzmitch
Copy link
Author

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)"

@kyzmitch
Copy link
Author

kyzmitch commented Nov 6, 2023

Add go modules executable:

PATH="$HOME/go/bin:$PATH"

for example after you run go install github.com/markphelps/optional/cmd/optional@v0.11.0

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment