Skip to content

Latest commit

 

History

History
43 lines (30 loc) · 981 Bytes

README.md

File metadata and controls

43 lines (30 loc) · 981 Bytes

Niklas dotfiles

My MacOS dotfiles

Install

Install tools, apps and symlinks

cd ~/code && git clone [email protected]:niklaslavrell/dotfiles.git && cd dotfiles && source install.sh

Set MacOS settings

./.macos

Add git credentials in a new file .extra.gitconfig, like:

# Git credentials
[user]
    name = Name
    email = Email

# Specific Git credentials for some folders
[includeIf "gitdir:*/company/"]
    path = ~/code/dotfiles/.extra.company.gitconfig

Files

  • .gitconfig - git configurations
  • .gitignore - global .gitignore settings
  • .macos - macos settings
  • .zshrc - zsh configurations
  • .extra.gitcofig - extra git credentials excluded from repo
  • install.sh - apps via homebrew and setup symlinks

Thanks

Thanks to paulirish, mathiasbynens and AntonNiklasson for inspiration.