Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/aleksanderbl29/dotfiles
https://github.com/aleksanderbl29/dotfiles
Last synced: about 1 month ago
JSON representation
- Host: GitHub
- URL: https://github.com/aleksanderbl29/dotfiles
- Owner: aleksanderbl29
- License: gpl-3.0
- Created: 2023-11-13T21:08:15.000Z (about 1 year ago)
- Default Branch: main
- Last Pushed: 2024-07-15T09:53:45.000Z (6 months ago)
- Last Synced: 2024-07-15T11:49:10.761Z (6 months ago)
- Language: Shell
- Size: 73.2 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Aleksander's dotfiles
## Steps to setup new mac
1. Install Apple's Command Line Tools, which are prerequisites for Git and Homebrew.
```zsh
xcode-select --install
```2. Clone repo into new hidden directory.
```zsh
# ...or use HTTPS and switch remotes later.
git clone https://github.com/aleksanderbl29/dotfiles ~/.dotfiles
```3. Create symlinks in the Home directory to the real files in the repo.
```zsh
ln -s ~/.dotfiles/.zshrc ~/.zshrc
ln -s ~/.dotfiles/.gitconfig ~/.gitconfig
```4. Install Homebrew, followed by the software listed in the Brewfile.
```zsh
# These could also be in an install script.# Install Homebrew
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"# Then pass in the Brewfile location...
brew bundle --file ~/.dotfiles/Brewfile# ...or move to the directory first.
cd ~/.dotfiles && brew bundle
```## TODO List
- Learn how to use [`defaults`](https://macos-defaults.com/#%F0%9F%99%8B-what-s-a-defaults-command) to record and restore System Preferences and other macOS configurations.
- Organize these growing steps into multiple script files.
- Make a checklist of steps to decommission your computer before wiping your hard drive.
- Integrate other cloud services into your Dotfiles process (Dropbox, Google Drive, etc.).