Personal .dotfiles for macOS (Apple Silicon) and Manjaro (amd64) running zsh
Warning
This repository is intended for personal use and should be run on a new machine. Do not use it directly without understanding its operations. Running ./install will overwrite existing dotfiles!
Note
Ensure using a login shell.
Feel free to fork it and modify it to suit your needs or open issues/PRs to discuss 😌.
-
Update system
softwareupdate --install --all
-
Install
Command Line Toolsxcode-select --install
-
Install dotfiles
All packages listed in
macos/Brewfilewill be installed.git clone https://github.com/xu-minghao317/dotfiles.git ~/.dotfiles --recursive cd ~/.dotfiles ./install macos
-
Restart your terminal, and you should be good to go! 🎉
(Ghostty comes pre-installed with JetBrains Mono Nerd Font and Catppuccin theme. For other terminals, manually install a Nerd Font and apply a Catppuccin theme.)
-
Enable Touch ID for
sudo:macOS Sonoma adds support to permanently enable Touch ID for
sudo. On Sonoma and above we do:sudo cp /etc/pam.d/sudo_local.template /etc/pam.d/sudo_local sudo vim /etc/pam.d/sudo_local
Uncomment the only line there:
- #auth sufficient pam_tid.so + auth sufficient pam_tid.so
-
Update system
sudo pacman -Syu
-
Install dotfiles
All packages listed in
linux/pacman-packages.txtwill be installed.git clone https://github.com/xu-minghao317/dotfiles.git ~/.dotfiles --recursive cd ~/.dotfiles ./install manjaro
-
Restart your terminal, and you should be good to go! 🎉
(Ghostty comes pre-installed with JetBrains Mono Nerd Font and Catppuccin theme. For other terminals, manually install a Nerd Font and apply a Catppuccin theme.)