Skip to content

Instantly share code, notes, and snippets.

@derekmurawsky
Last active March 19, 2019 19:23
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save derekmurawsky/df53e570dafe47a367fdfed22836690f to your computer and use it in GitHub Desktop.
Save derekmurawsky/df53e570dafe47a367fdfed22836690f to your computer and use it in GitHub Desktop.
Environment Setup
# Install homebrew
/usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"
# Install basics
brew install git python nmap docker node nvm wget jq cookiecutter curl git nano
brew cask install iterm2 google-chrome
# Manually configure iterm2 with pro theme from the below clone
git clone https://github.com/mbadolato/iTerm2-Color-Schemes.git
# Install bash-it
git clone --depth=1 https://github.com/Bash-it/bash-it.git ~/.bash_it
~/.bash_it/install.sh
# Configure Bash-it
bash-it enable plugin python ssh osx git aws
bash-it enable completion awscli bash-it brew bundler gem git git_flow pip pip3 ssh system test_kitchen
bash-it enable alias curl git homebrew homebrew-cask osx ansible bundler
# Override bash-it's default bobby prompt to support python venvs
cat <<'EOF' >> ~/.bash_profile
#Override Bash It Bobby prompt
function prompt_command() {
PS1="\n$(__bobby_clock)${yellow}|$(python_version_prompt)$(ruby_version_prompt) ${purple}\h ${reset_color}in ${green}\w\n${bold_cyan}$(scm_prompt_char_info) ${green}→${reset_color} "
}
EOF
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment