Last active
February 4, 2022 10:35
-
-
Save konstruktoid/66e6553458e6caa7a13f23576c410b3f to your computer and use it in GitHub Desktop.
MacOS X things
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
#!/bin/sh | |
echo "this will exit so you can go through the code before actually doing anything" | |
exit 0 | |
if ! [ "$SHELL" = "$(which bash)" ]; then | |
chsh -s "$(which bash)" | |
fi | |
curl -sSL https://raw.githubusercontent.com/konstruktoid/dotfiles/master/.bashrc > ~/.bashrc | |
curl -sSL https://raw.githubusercontent.com/konstruktoid/dotfiles/master/.gitconfig > ~/.gitconfig | |
curl -sSL https://raw.githubusercontent.com/konstruktoid/dotfiles/master/.vimrc > ~/.vimrc | |
ln -vsf ~/.bashrc ~/.profile | |
if ! command -v brew 1>/dev/null; then | |
bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)" | |
fi | |
{ | |
echo 'export BASH_SILENCE_DEPRECATION_WARNING=1' | |
echo 'export PATH="$(which ruby):$PATH"' | |
echo | |
echo 'eval "$(brew shellenv)"' | |
echo 'PS1="\w \$"' | |
} >> ~/.bashrc | |
brew analytics off | |
brew tap hashicorp/tap | |
brew install coreutils jq packer python3 ruby shellcheck vagrant hashicorp/tap/terraform | |
python3 -m pip install --upgrade pip | |
export PATH="$(which ruby):$PATH" | |
gem install mdl | |
"$(which python)" -m pip install -r https://raw.githubusercontent.com/konstruktoid/dotfiles/master/python-requirements.txt |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment