This repository is my dotfiles for ARM-based Apple Silicon, managed with chezmoi
.
What are dotfiles? check this website for more information.
Tip
It's still applicable even if you are not using macOS with Apple Silicon, this repository will help you construct your own dotfiles repository on various platforms.
A single command to enable the following features:
- Manage dotfiles with
chezmoi
- Automate installation of Homebrew packages
- Automate installation of Yarn global packages
- LunarVim and configuration
- Nerd Font Pack:
Meslo Nerd Font
, GitHubMonaspace
- Tmux configuration
- Oh-My-Zsh configuration
- TODO: iTerm2 configuration
Caution
The setup script will install homebrew and chezmoi, and initialize the dotfiles to the home directory. Make sure you have a backup of your dotfiles before running the script. It's always a good idea to check the script before running it.
setup.sh
will install homebrew and chezmoi to initalize the basic envionment and pull the dotfiles.
use curl to download and run with bash:
$ /bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/jukrb0x/dotfiles/main/setup.sh)"
or use wget:
$ /bin/bash -c "$(wget -O- https://raw.githubusercontent.com/jukrb0x/dotfiles/main/setup.sh)"
Afterwards, the chezmoi will run the scripts in .chezmoiscripts
to install packages via homebrew, you can check Brewfile
for the list of packages. The LunarVim will be installed after the homebrew packages.
Chezmoi externals feature enables to pull other repositories to the home directory, such as tmux and oh-my-zsh configurations, and install a nerd font pack Meslo
into the system.
Sibling repositories (managed with yadm
):
- Dotfiles for Windows Subsystem Linux (Ubuntu 20): dotfiles-wsl-ubuntu
- Dotfiles for macOS 11.4 (intel): dotfiles-macos-intel