Skip to content

Latest commit

 

History

History
38 lines (25 loc) · 1.25 KB

File metadata and controls

38 lines (25 loc) · 1.25 KB

Dotfiles

screenshot

Install

On a fresh machine — no clone needed, the script clones itself:

curl -fsSL https://raw.githubusercontent.com/scrogson/dotfiles/master/install.sh -o /tmp/dotfiles-install.sh && sh /tmp/dotfiles-install.sh

Downloading first rather than curl | sh keeps stdin a TTY, so Homebrew stays interactive and sudo/chsh can prompt normally.

This installs Homebrew, runs brew bundle, links the dotfiles, syncs Neovim plugins, loads the theme watcher, and switches the shell to fish.

Afterwards, swap the remote to SSH so you can push:

git -C ~/.dotfiles remote set-url origin git@github.com:scrogson/dotfiles

Common tasks

just link            # re-link dotfiles (rcup + lazygit/bat extras)
just theme-watcher   # install/reload the light-dark theme launch agent

See THEME_SWITCHING.md for how automatic light/dark switching works, and wezterm.md for the terminal setup.

macOS system settings

scripts/macos/ captures user-level macOS preferences on the old Mac and re-applies them on the new one — see its README.