https://github.com/janosh/dotfiles
Ain't no place like ~
https://github.com/janosh/dotfiles
bash dotfiles macos shell-scripts zsh
Last synced: 3 months ago
JSON representation
Ain't no place like ~
- Host: GitHub
- URL: https://github.com/janosh/dotfiles
- Owner: janosh
- License: mit
- Created: 2018-08-02T16:38:03.000Z (almost 8 years ago)
- Default Branch: main
- Last Pushed: 2026-02-24T10:25:40.000Z (4 months ago)
- Last Synced: 2026-02-24T15:51:14.694Z (4 months ago)
- Topics: bash, dotfiles, macos, shell-scripts, zsh
- Language: Shell
- Homepage:
- Size: 1.65 MB
- Stars: 2
- Watchers: 0
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: readme.md
- License: license
Awesome Lists containing this project
README
# macOS Setup Automation [](https://results.pre-commit.ci/latest/github/janosh/dotfiles/main)
## Purpose
This repo contains shell scripts and config files which, when executed and copied into their respective destinations, bring a clean install of macOS into a working-ready state.
> Forked from [Vítor’s dotfiles](https://github.com/vitorgalvao/dotfiles) but quite diverged now.
## Usage
To run all automatic scripts in this repo:
```sh
zsh -c "$(curl -sSL 'https://raw.github.com/janosh/setup/main/setup/main.sh')"
```
Or, if you've already cloned the repo locally, simply run:
```sh
./setup/main.sh
```
To customize OS settings and complete the setup, run:
```sh
zsh -c "$(curl -sSL 'https://raw.github.com/janosh/setup/main/system-settings.sh')"
```
## Organization
The important files in this repo are:
```text
.
└── setup
├── main.sh
└── system-settings.sh
```
The files prefixed with numbers contain only functions. None of them will do anything if run on their own. `main.sh` imports all functions and runs them in sequence.
If you wish to run only parts of the setup process, source the appropriate script(s) and call the respective functions, e.g. `source scripts/2_apps.sh && brew_install`.