These are the base dotfiles that I start with when I set up a
new environment. For more specific local needs I use the
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 https://raw.github.com/michelegera/dotfiles/master/dotfiles)"
The setup process will:
- Download the dotfiles on your computer (by default it will suggest
- 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
The dotfiles can be easily extended to suit additional local requirements by using the following files:
~/.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
~/.gitconfig.local to store sensitive information such
git user credentials, e.g.:
[user] name = John Appleseed email = email@example.com signingkey = XXXXXXXX
Inspiration and code was taken from many sources, including:
The code is available under the MIT license.