https://github.com/ladislas/dotfiles
https://github.com/ladislas/dotfiles
Last synced: 8 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/ladislas/dotfiles
- Owner: ladislas
- License: mit
- Created: 2019-10-29T16:11:57.000Z (almost 6 years ago)
- Default Branch: main
- Last Pushed: 2024-07-02T07:28:17.000Z (over 1 year ago)
- Last Synced: 2025-02-05T01:34:38.387Z (8 months ago)
- Language: Shell
- Size: 414 KB
- Stars: 2
- Watchers: 3
- Forks: 1
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Home Sweet Home 
## About
This repository contains all my configs and simple scripts to setup a new Mac.
I try to keep `$HOME` as clean as possible by using [XDG Base Directory Specification](https://standards.freedesktop.org/basedir-spec/basedir-spec-latest.html).
⚠️ Make sure you review the code before blindly using it.
## Install & Use
Make sure you have Xcode and/or the Command Line Tools are installed first:
```console
xcode-select --install
```Install [Homebrew](https://brew.sh/):
```console
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"
```Clone the repo where you want, I usually do the following:
```console
mkdir -p ~/dev/ladislas
cd ~/dev/ladislas
git clone https://github.com/ladislas/dotfiles
cd dotfiles
```or run the following (only if you are me):
```console
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/ladislas/dotfiles/master/install.sh)"
```Then run the bootstrap process:
```console
zsh bootstrap.sh [arguments]
```Available arguments are:
- `--all` - run all scripts
- `--force` - used with `--all` skip the "Are you sure you want to continue" question
- `--ci` - for CI
- `--verbose` or `-v` - print `stderr` message of failed commands
- `-vv` - print `stdout` & `stderr` messagesThe rest is detailed here:
`--hello` `--zsh` `--git` `--nvim` `--data` `--macos --computer_name=xxx` `--brew` `--apps-install` `--apps-config` `--dev`
>
### Recommended Order
```bash
# check if things work
zsh bootstrap.sh --hello# start with brew + apps
zsh boostrap.sh --brew --apps-install# then zsh + git
zsh bootstrap.sh --zsh --git# finally macos
zsh bootstrap.sh --macos --computer_name=xxx# the rest is only needed if you are me
zsh bootstrap.sh --apps-config --dev --data --nvim
```## Brew casks/formulae
I've removed some of the heavy casks & formulae from the script as they were taking way too much time...
To instatll them, run the following:
```bash
# swiftlint needs xcode installed
brew install swiftlint# mandatory for signing commits
brew install --no-quarantine gpg-suite-no-mail# Formulae
brew install imagemagick# Casks
brew install --no-quarantine adoptopenjdk
brew install --no-quarantine mactex-no-gui
```## Apps Settings
Apps must be launched first before syncronizing the settings. The script takes care of that but sometimes it might take a little longer or you might need to accept a dialog box.