https://github.com/sadiksaifi/macdots
macOS dotfiles
https://github.com/sadiksaifi/macdots
dotfiles dotfiles-macos macos neovim nvim
Last synced: 3 months ago
JSON representation
macOS dotfiles
- Host: GitHub
- URL: https://github.com/sadiksaifi/macdots
- Owner: sadiksaifi
- License: gpl-3.0
- Created: 2025-02-16T14:39:51.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2025-05-02T17:05:40.000Z (about 1 year ago)
- Last Synced: 2025-05-02T17:55:33.778Z (about 1 year ago)
- Topics: dotfiles, dotfiles-macos, macos, neovim, nvim
- Language: Shell
- Homepage:
- Size: 64.5 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# macOS dotfiles
A collection of configuration files for setting up and maintaining a personalized macOS development environment.
## Installation
```bash
cd $HOME
git clone --separate-git-dir=$HOME/.macdots.git https://github.com/sadiksaifi/macdots.git tmpdotfiles
rsync --recursive --verbose --exclude '.git' tmpdotfiles/ $HOME/
rm -rf tmpdotfiles
alias dots='/usr/bin/git --git-dir=$HOME/.macdots.git/ --work-tree=$HOME'
dots config --local status.showUntrackedFiles no
```
## About this setup
This repository uses the Git bare-repo method for managing dotfiles.
The actual repository lives in ~/.macdots.git, while your $HOME directory acts as the working tree.
This keeps your home folder clean and avoids the clutter of a visible .git directory.
If you want a detailed explanation of how this approach works (and why it’s great), check out the full guide on my blog: [Manage Dotfiles with Git Bare Repository](https://blog.sadiksaifi.dev/manage-dotfiles-with-git-bare-repository/)
## License
[GPL-3.0](LICENSE)