Created
March 26, 2018 13:55
-
-
Save sergeykuzmich/cfff51f18fa8acbbdc5ac9f71f2658ea to your computer and use it in GitHub Desktop.
This file contains 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
############ | |
## Setup NVM | |
. /Users/Sergey/.nvm/lazy-load.sh | |
################## | |
## Setup newer PHP | |
export PATH="/usr/local/php5/bin":"$PATH" | |
export PATH="$HOME/.composer/vendor/bin":"$PATH" | |
######################### | |
## Set up Terminal Prompt | |
git_branch() { | |
git branch 2> /dev/null | sed -e '/^[^*]/d' -e 's/* \(.*\)/ [\1]/' | |
} | |
export PS1="💻 \[\033[38;5;6m\]\W\[$(tput sgr0)\]\[\033[33m\]\$(git_branch)\[\033[00m\] " | |
############################### | |
## Set up Homestead daily usage | |
function homestead() { | |
if [ $1 == "setup" ] | |
then | |
( subl ~/Homestead/Homestead.yaml ) | |
else | |
( cd ~/Homestead && vagrant $* ) | |
fi | |
} | |
############# | |
## Gatekeeper | |
function gatekeeper() { | |
( sudo spctl --master-$* ) | |
} | |
################# | |
## Import Aliases | |
. ~/.bash_aliases | |
#################### | |
## Homebrew Binaries | |
export PATH="/usr/local/sbin:$PATH" | |
export PATH="/usr/local/opt/openssl/bin:$PATH" | |
complete -C /usr/local/bin/terraform terraform | |
################################## | |
## Disable Terraform Version Check | |
export CHECKPOINT_DISABLE=true | |
##################### | |
## Terraform Versions | |
if [[ -f /usr/local/opt/chtf/share/chtf/chtf.sh ]]; then | |
source "/usr/local/opt/chtf/share/chtf/chtf.sh" | |
fi |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment