Thanks to visit codestin.com
Credit goes to github.com

Skip to content

dave-mills/dotfiles

 
 

Repository files navigation

~D Dotfiles

My own version of a dotfiles repo.

Inspired by the blog and video by Dries Vints: https://driesvints.com/blog/getting-started-with-dotfiles

Setting up Ubuntu

  1. Create ssh key(s)
  2. Clone this repo to ~/dotfiles
  3. Install zsh:
    • sudo apt update
    • sudo apt install zsh -y
  4. Configure zsh as your default shell
chsh -s `which zsh`
  1. Install Oh My Zsh
  2. Run ./install-ubuntu.sh

Setting up your Mac

  1. Update macOS to the latest version with the App Store
  2. Install Xcode from the App Store, open it and accept the license agreement
  3. Install macOS Command Line Tools by running xcode-select --install
  4. Create ssh keys (I prefer to make new keys for new devices)
  5. Clone this repo to ~/Projects/dotfiles
  6. Install Oh My Zsh
  7. Run install.sh to start the installation
  8. Restart your computer to finalize the process

Your Mac is now ready to use!

Note: you can use a different location than ~/Projects/dotfiles if you want. Just make sure you also update the reference in the .zshrc file.

Notes on .macos settings

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.

Notes on Brewfile

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.

Notes on Aliases

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.

About

Get started with your own dotfiles

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Shell 94.5%
  • PHP 3.0%
  • Ruby 2.5%