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.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
git
os
prefs
shell
.editorconfig
.gitattributes
.gitconfig.local.example
.gitignore
LICENSE.txt
README.md
dotfiles

README.md

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.

Setup

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 https://raw.github.com/michelegera/dotfiles/master/dotfiles)"

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

Customize

Local Settings

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

~/.gitconfig.local

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.:

[user]
  name = John Appleseed
  email = john.appleseed@apple.com
  signingkey = XXXXXXXX

Forks

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.

Update

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.

Acknowledgements

Inspiration and code was taken from many sources, including:

License

The code is available under the MIT license.

You can’t perform that action at this time.