Forked from Caarlos0 dotfiles
First, make sure you have all those things installed:
git: to clone the repocurl: to download some stufftar: to extract downloaded stufffish: the shellsudo: some configs may need that
Then, run these steps:
git clone https://github.com/stvmachine/dotfiles_v3 ~/.dotfiles
cd ~/.dotfiles
./script/bootstrap.fishRun brew bundle from macos folder
cd macos
brew bundleAll changed files will be backed up with a
.backupsuffix.
To update, you just need to git pull and run the bootstrap script again:
cd ~/.dotfiles
git pull origin master
./script/bootstrap.fishReverting is not totally automated, but it pretty much consists in removing the fish config and dotfiles folder, as well as moving back some config files.
rm -rf ~/.dotfiles $__fish_config_dirThe bootstrap script would have created a bunch of symlinks that will now be broken.
You will have to investigate those manually.
In cases a file already existed, the boostrap script should have created a .backup file with the same name.
All tools below are compatible with Fish shell and Starship prompt:
bata cat(1) clone with wings;fzffor a fuzzy-finder (with Fish integration);ghfor more GitHub integration with the terminal;grcto colorize command's outputs;starship.rsthe prompt we are using (Fish is the shell);
This dotfiles repo manages the OpenCode configuration under .config/opencode/.
It includes profiles, the rtk.ts plugin, oh-my-opencode-slim presets,
and non-GSD skills. GSD-related generated files are ignored.
After running the bootstrap script and brew bundle, set up OpenCode:
cd ~/.dotfiles
./script/bootstrap.fish
cd ~/.config/opencode
npm install
opencode plugin install -g oh-my-opencode-slim
opencode plugin install -g @warp-dot-dev/opencode-warp
opencode plugin install -g opencode-openai-codex-authOCX profiles launch different oh-my-opencode-slim presets:
ocx opencode -p free
ocx opencode -p kimi
ocx opencode -p kimi-superpowers
ocx opencode -p sol-kimiSee .config/opencode/PROFILES.md for how the profile → preset mapping works.
To install GSD workflows and agents on top of this OpenCode setup:
npx -y @opengsd/gsd-core@latest --opencode --globalGSD writes ignored files into ~/.config/opencode/ (agents, command, gsd-core,
hooks, etc.), so they are not tracked in this repo.
Facing the setup of a new machine (or the need to reinstall after a fresh OS install or the like), here's a very brief and basic list of the usual suspects, related to the setup of a mac computer to work with (mostly related to a scripting languages context).
The package manager is the default first thing I always install. Simply following the default steps. Homebrew should download and install the Command Line Tools for Xcode automatically, but if it doesn't work, you can install them manually:
xcode-select --installInstall brew and install apps
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"
brew bundle --file ~/.dotfiles/macos/Brewfile You use it by running:
~/.dotfiles/macos/set-defaults.shAnd logging out and in again or restart.
Thanks to alexramirez: https://github.com/alexramirez/mac-setup