Skip to content
💻 OS X dotfiles
Shell Vim script
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Type Name Latest commit message Commit time
Failed to load latest commit information.

michelegera’s dotfiles

These are the base dotfiles that I start with when I set up a new environment. For more specific local needs I use the .local files described in the Local Settings section.


To setup the dotfiles just run the following command in the terminal:

(DO NOT run the command if you don’t fully understand what it does. Seriously, DON’T!)

bash -c "$(curl -LsS"

That’s it!

The setup process will:

  • Download the dotfiles on your computer (by default it will suggest ~/.dotfiles)
  • Create some additional directories
  • Symlink the git, and shell files
  • Install applications / command-line tools for macOS
  • Install the Bash shell
  • Set custom macOS preferences


Local Settings

The dotfiles can be easily extended to suit additional local requirements by using the following files:


If the ~/.gitconfig.local file exists, it will be automatically included after the configurations from ~/.gitconfig, thus, allowing its content to overwrite or add to the existing git configurations.

Note: Use ~/.gitconfig.local to store sensitive information such as the git user credentials, e.g.:

  name = John Appleseed
  email =
  signingkey = XXXXXXXX


If you decide to fork this project, don’t forget to substitute my username with your own in the setup snippets, in the dotfiles script and in the iTerm preferences.


To update the dotfiles you can either run the dotfiles script or, if you want to just update one particular part, run the appropriate os script.


Inspiration and code was taken from many sources, including:


The code is available under the MIT license.

You can’t perform that action at this time.