My customized dotfiles for macOS
• Homebrew • iTerm • Starship • Mac preferences •
To be able to install the dotfiles, you are going to need git
and various developer tools. These are shipped with the macos command-line-tools. To install these run:
xcode-select --install
You also need to have Homebrew installed. Follow instructions on their website to get started.
The dotfiles are configured to be installed under ~/.dotfiles-macos/
by default and should be cloned into $HOME
.
See location to change this.
- Clone this repository with:
git clone https://github.com/jonjohansen/.dotfiles-macos.git ~/.dotfiles-macos
Important
Beware that some of the settings (especially those for macos) may require sudo
privileges.
- Run the python installation script
python3 install.py
Everything can be customized, and it is recommended to get an overlook of what the dotfiles install and adjust them to preferred settings.
If you want to install the dotfiles somewhere else some paths are dependent on the DOTFILES variable.
in .zshrc
export DOTFILES="$HOME/.dotfiles-macos/"
Note
There also is a reference to $DOTFILES
in install.py
which will have to be updated.
What | Type | Where |
---|---|---|
macOS | settings | .macos |
iTerm | settings | /iterm/ |
config | /iterm/config |
|
git | config | git/.gitconfig |
ignorefile | git/.gitignore |
|
zsh | config | .zshrc |
starship | config | starship.toml |
These are my personal settings. You should read through every line. Not that you're going to, but it is recommended to find your own preferences. 💅