Skip to content

mpetersen/dotfiles

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

dotfiles

My dotfiles repository.

Preparation

This version of my dotfiles is installing a zsh configuration.

Download

To download dotfiles repository, execute the following command in the terminal:

git clone [email protected]:mpetersen/dotfiles.git && mv dotfiles ~/.dotfiles

If you are executing this command on a new Mac, git might not be installed yet. However, you will be prompted to install the command line developer tools.

After installing the developer tools, execute the above command again and the dotfiles repository will be downloaded at .dotfiles in your home directory. This is a git repository that you can use to update your dotfiles.

Install binaries

In the .dotfiles repository folder you find a tool to install dotfiles: dotfiles:

~/.dotfiles/install.sh

This script does:

  • Enable FileVault
  • Install Homebrew
  • Install applications from Homebrew and Appstore

Setup dotfiles

~/.dotfiles/setup.sh

This script does:

  • Remove existing files or links
  • Create new links

Updating install files

If you want to update the install files for Homebrew and Appstore, you need to run the following commands:

brew list --cask > ~/.dotfiles/install/brew-cask-list
brew list --formulae > ~/.dotfiles/install/brew-list
mas list > ~/.dotfiles/install/mas-list

Install Cloud folders

You can install your cloud folders (e.g. Creative Cloud, OneDrive, Dropbox etc.) in ~/Clouds. The following script will install symlinks in your home ~/Documents, ~/Pictures etc.:

~/.dotfiles/clouds.sh

Handling confidential information

Store confidential information in ~/.exports_private.

Update the dock

Run the following command to update the dock to standard configuration:

~/.dotfiles/dock.sh

Testing

If you want to test the dotfiles tool on a clean Mac, there is no need to wipe your machine. Instead, you can install a clean system on VirtualBox. Follow this link to setup OS X on VirtualBox.

If you continue to work on the dotfiles tool and want to test, I recommend to create a snapshot after a clean system install.

Notes

About

My dotfiles

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages