点文件,目前用于 NeoVim 和 Tmux 配置
概览
这是一个我在软件开发中喜欢使用的配置文件合集:Neovim、Tmux(现在因为Neovide和我自制的会话管理功能,不太用了)、Alacritty。 本项目使用 GNU Stow 从该仓库创建符号链接到您的$HOME目录。 - 该脚本会请求 sudo 权限,用于 brew 和 apt(如适用)安装- 该脚本会创建 ~/.zshrc、~/.config/nvim 和 ~/.config/tmux 的符号链接,参见 GNU Stow 以了解冲突处理方式 在更改点文件管理脚本或添加依赖后使用./sync.sh。 这包括新添加的CLI依赖,比如Worktrunk:将它们保存在仓库管理的安装源(Brewfile或scripts/manifest.tsv)中,这样 setup.sh 并 sync.sh 自动引导。 - Pi CLI通过scripts/manifest.tsv安装 - 仓库本地的Pi扩展位于home/.pi/agent/extensions/下 - 公共Pi包/扩展声明在home/中。
概述(AI 翻译)
巫师史塔克的点档
这是一个我喜欢使用的工具配置文件合集 软件开发期间有:Neovim、Tmux(现在因为Neovide和我自制的会话管理就不太用了)、Alacritty。
点文件管理
该项目使用 GNU Stow 创建符号链接 从这个仓库到你的$HOME目录。
布置
注意:
- 该脚本会请求sudo权限,随后用于brew和apt(如适用)安装
- 该脚本将创建指向 ~/.zshrc、~/.config/nvim 和 ~/.config/tmux 的符号链接, 有关冲突处理方式,请参见GNU Stow
同步现有机器
更改 dotfiles 管理脚本或添加依赖后使用 ./sync.sh。
这包括新添加的CLI依赖,如worktrunk:保持它们在
仓库管理的安装源码(Brewfile 或 scripts/manifest.tsv),因此 setup.sh
并且sync.sh自动引导它们。
Pi 是这种可复现配置的一部分:
- Pi CLI安装于
scripts/manifest.tsv - 仓库本地Pi扩展存在于
home/.pi/agent/extensions/ - 公共 Pi 包/扩展声明于
home/.pi/agent/settings.json还有“./sync。
本页由 AI 翻译,技术细节请以原文为准。
README
以下为原文 README 节选,完整内容请查看原文。
WizardStark’s dotfiles
This is a collection of configuration files for the tools that I like to use during software development: Neovim, Tmux (not so much anymore due to Neovide and my homegrown session management), Alacritty.
Dotfile management
This project uses GNU Stow to create symlinks from this repository to your $HOME directory.
Setup
NOTE:
- This script will ask for sudo permissions, which are then used for brew and apt (if applicable) installs
- This script will create symlinks to ~/.zshrc, ~/.config/nvim and ~/.config/tmux, see GNU Stow for how conflicts will be handled
git clone https://github.com/WizardStark/dotfiles.git
cd dotfiles
./setup.sh
Syncing an existing machine
Use ./sync.sh after changing dotfiles-managed scripts or adding dependencies.
That includes newly added CLI dependencies such as worktrunk: keep them in the
repo-managed install sources (Brewfile or scripts/manifest.tsv) so setup.sh
and sync.sh bootstrap them automatically.
Pi is part of that reproducible setup:
- the Pi CLI is installed from
scripts/manifest.tsv - repo-local Pi extensions live under
home/.pi/agent/extensions/ - public Pi packages/extensions are declared in
home/.pi/agent/settings.jsonand./sync.shinstalls any missing entries viapi install - the repo-local Pi extensions include an
edittool override so edit diffs keep the customized full-width, syntax-highlighted TUI rendering without patching Pi’s installed files opens the session-grouped Pi notification inbox in a tmux popup. Usej/kto move,Enterto expand a session or open a historical notification,oto open,rto mark through the selection read,Rto mark the session read,Tabto change views,ato toggle the default seven-day window/all-time history, and/to search. Notifications show the session/directory and submitted Pi task; the durable log is~/.pi/agent/notifications.jsonl.
./sync.sh
./sync.sh applies changes by default; use --check for verification only.
If Homebrew/Linuxbrew is missing or not executable on the current host, ./sync.sh
now skips Brewfile-managed install/check steps and continues with the rest of the
repo-managed sync work on a best-effort basis.
Useful variants:
./sync.sh --check # verify Brewfile, extra tools, Pi packages, and stow state
./sync.sh --check --verbose
./sync.sh --with-sudo # also update login shell with sudo-backed chsh
Setup script variants depending on machine state:
./setup.sh # new machine bootstrap
./setup.sh --post-brew # brew already installed
./setup.sh --post-brew --no-sudo
Pi grill-me skill
home/.pi/agent/skills/grill-me/SKILL.md provides an opt-in design interview:
/skill:grill-me Build a notification preferences UI
推荐工具
换一个关键词,或者移除筛选条件。
安装
npx skillfish add wizardstark/dotfiles