Skip to content

refactor: make dotfiles work on macOS, Linux and WSL - #12

Merged
0x48core merged 2 commits into
mainfrom
refactor/cross-platform
Nov 16, 2026
Merged

0x48core merged 2 commits into
mainfrom
refactor/cross-platform

Conversation

@0x48core

Copy link
Copy Markdown
Owner
  • install.sh is now the single entry point: detects the OS, installs prerequisites (Xcode CLT / apt / dnf / pacman), Homebrew, Oh My Zsh, links dotfiles, runs brew bundle; --no-packages and --links modes
  • Back up existing files to .bak. instead of overwriting
  • scripts/lib/platform.sh: shared detect_os, linux_pkg_manager, as_root, brew_bin helpers; setup-wsl.sh folded into install.sh
  • setup-gcloud.sh: install from Google's apt/dnf repo on Linux/WSL
  • .zshrc: pbcopy/pbpaste/open shims for Linux and WSL; agnoster only when starship is missing (avoids locale warning on Ubuntu/WSL)
  • docs/linux.md, updated README, wsl, ssh, git, gcloud, jekyll docs
  • CI: shellcheck, plus install.sh on ubuntu-latest and macos-latest

0x48core and others added 2 commits November 12, 2026 09:18
- install.sh is now the single entry point: detects the OS, installs
  prerequisites (Xcode CLT / apt / dnf / pacman), Homebrew, Oh My Zsh,
  links dotfiles, runs brew bundle; --no-packages and --links modes
- Back up existing files to <file>.bak.<timestamp> instead of overwriting
- scripts/lib/platform.sh: shared detect_os, linux_pkg_manager, as_root,
  brew_bin helpers; setup-wsl.sh folded into install.sh
- setup-gcloud.sh: install from Google's apt/dnf repo on Linux/WSL
- .zshrc: pbcopy/pbpaste/open shims for Linux and WSL; agnoster only
  when starship is missing (avoids locale warning on Ubuntu/WSL)
- docs/linux.md, updated README, wsl, ssh, git, gcloud, jekyll docs
- CI: shellcheck, plus install.sh on ubuntu-latest and macos-latest

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
- config/ghostty/config: terminal colors and font size, linked by install.sh
- config/starship.toml: powerline-style prompt (directory + git branch)
- Brewfile: ghostty cask (macOS), kubectx, stern, fzf, eza, bat, zoxide,
  btop, lazydocker, zsh-autosuggestions, zsh-syntax-highlighting
- .zshrc: load zsh plugins from Homebrew, enable fzf and zoxide
- install.sh: drop the Oh My Zsh autosuggestions clone (now from Brewfile)

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@0x48core
0x48core merged commit 6d65780 into main Nov 16, 2026
2 of 3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant