My own version of a dotfiles repo.
Inspired by the blog and video by Dries Vints: https://driesvints.com/blog/getting-started-with-dotfiles
- Create ssh key(s)
- Clone this repo to
~/dotfiles - Install zsh:
sudo apt updatesudo apt install zsh -y
- Configure zsh as your default shell
chsh -s `which zsh`- Install Oh My Zsh
- Run
./install-ubuntu.sh
- Update macOS to the latest version with the App Store
- Install Xcode from the App Store, open it and accept the license agreement
- Install macOS Command Line Tools by running
xcode-select --install - Create ssh keys (I prefer to make new keys for new devices)
- Clone this repo to
~/Projects/dotfiles - Install Oh My Zsh
- Run
install.shto start the installation - Restart your computer to finalize the process
Your Mac is now ready to use!
Note: you can use a different location than
~/Projects/dotfilesif you want. Just make sure you also update the reference in the.zshrcfile.
Go through the .macos file and adjust the settings to your liking. You can find much more settings at the original script by Mathias Bynens and Kevin Suttle's macOS Defaults project.
Check out the Brewfile file and adjust the apps you want to install for your machine. Use their search page to check if the app you want to install is available.
Check out the aliases.zsh file and add your own aliases. If you need to tweak your $PATH check out the path.zsh file. These files get loaded in because the $ZSH_CUSTOM setting points to the .dotfiles directory. You can adjust the .zshrc file to your liking to tweak your Oh My Zsh setup. More info about how to customize Oh My Zsh can be found here.