This is a collection of my dotfiles. Borrowed from the great @kyleshevlin. Peruse, you may find something useful.
Clone this repository to your new machine and symlink the correct files, like so:
chmod 700 ~/.ssh
chmod 600 ~/.ssh/id_rsa
chmod 644 `/.ssh/id-rsa.pub
cd ~
git clone git@github.com:z3ugma/.dotfiles.git
ln -s ~/.dotfiles/.zprofile ~/.zprofile
ln -s ~/.dotfiles/.zshrc ~/.zshrc
ln -s ~/.dotfiles/brew/Brewfile_fredsodata ~/Brewfile
ln -s ~/.dotfiles/brew/Brewfile_lumiere ~/Brewfile
#mv /Users/fred/.config/kitty/kitty.conf ~/.dotfiles/
mkdir -p ~/.config/kitty
ln -s ~/.dotfiles/kitty.conf ~/.config/kitty/kitty.conf
cd .dotfiles
# or replace with the Brewfile of your preference
Then be sure to source your new profile:
source ~/.zprofile
To set MacOS defaults:
sudo bash ~/.dotfiles/osx/defaults.sh