Skip to content

Instantly share code, notes, and snippets.

@bheeshmar
Last active May 13, 2024 02:33
Show Gist options
  • Save bheeshmar/95646cd86c6db9eec384 to your computer and use it in GitHub Desktop.
Save bheeshmar/95646cd86c6db9eec384 to your computer and use it in GitHub Desktop.
Mac setup
### MY CUSTOMIZATIONS
# Set hostname, etc
export DESIREDHOSTNAME=caelian
sudo scutil --set HostName $DESIREDHOSTNAME
sudo scutil --set LocalHostName $DESIREDHOSTNAME
sudo scutil --set ComputerName $DESIREDHOSTNAME
# Use homebrew, click bottom right button in dialog when prompted
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"
brew install git
# Install apps using homebrew with cask
brew install --cask google-chrome
brew install --cask slack
brew install --cask rectangle
brew install --cask zoom
brew install --cask jumpcut
# may not be needed anymore
brew install --cask unnaturalscrollwheels
brew install --cask docker
brew install --cask session-manager-plugin
brew install --cask amazon-workspaces
# Copy keys from storage
mkdir ~/.ssh
chmod 0700 ~/.ssh
echo (paste) > ~/.ssh/id_rsa
chmod 0600 !$
...
ssh -T git@github.com # test
# Setup AWS creds from storage
brew install awscli
aws configure --profile bloomfire
aws configure --profile bf-production
# My configs
git clone git@github.com:bheeshmar/dotfiles.git
echo 'export MY_SHELL_SETTINGS=$HOME/dotfiles/shell_settings' >> ~/.bashrc
echo '[ -f $MY_SHELL_SETTINGS/settings.bash ] && . $MY_SHELL_SETTINGS/settings.bash' >> ~/.bashrc
# vim
brew install vim
ln -s $HOME/dotfiles/vim_settings/vimrc ~/.vimrc
vim # load plugins
cd ~/.vim/vim-addons/vimproc/ && make -f make_mac.mak
cd
# tmux
brew install tmux
# utilities
brew install universal-ctags
brew install ripgrep
brew install fd
brew install fzf
brew install jq
brew install bat
brew install eza
brew install direnv
brew install rclone
brew install terraform
brew install watch
brew install xsv
# nerd font
brew tap homebrew/cask-fonts
brew install --cask font-fira-code-nerd-font
brew install --cask font-ubuntu-mono-nerd-font
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment