-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathinstall.conf.yaml
More file actions
42 lines (39 loc) · 1.71 KB
/
install.conf.yaml
File metadata and controls
42 lines (39 loc) · 1.71 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
- defaults:
link:
create: true
relink: true
relative: true
force: true
clean:
force: false
- create:
- ~/.vim/undo-history
- link:
~/.agents:
~/.claude/CLAUDE.md: "agents/AGENTS.md"
~/.claude/skills: "agents/skills"
~/.codex/AGENTS.md: "agents/AGENTS.md"
~/.config/ghostty: "ghostty"
~/.config/ranger: "ranger"
~/.gemrc: "ruby/gemrc"
~/.gitconfig: "git/gitconfig"
~/.htoprc: "utils/htoprc"
~/.tmux:
~/.tmux.conf: "tmux/tmux.conf"
~/.vim:
~/.vimrc: "vim/vimrc"
# zsh 启动文件加载顺序:.zshenv → [.zprofile if login] → [.zshrc if interactive] → [.zlogin if login] → [.zlogout on exit]
# ① .zshenv — 所有 zsh(login/interactive/script),不可产生输出。PATH/LANG/EDITOR 等全局环境变量。注意 macOS /etc/zprofile 会在之后调用 path_helper 重排 PATH。
# ② .zprofile — 登录 shell,在 .zshrc 之前。会话级初始化:path_helper、nvm/mise、SSH-agent 等。与 .zlogin 本为二选一(ksh 风格),此处拆分使用。
# ③ .zshrc — 交互式 shell($- 含 i)。Prompt/主题/alias/函数/补全/键绑定,所有交互体验相关内容。
# ④ .zlogin — 登录 shell,在 .zshrc 之后。不应改变 shell 环境,仅运行外部命令:欢迎横幅、fortune、启动 tmux 等。
# ⑤ .zlogout — 登录 shell 退出时。清理:kill agent、umount、临时文件/history 收尾等。
~/.zshenv: "zsh/.zshenv"
~/.zprofile: "zsh/.zprofile"
~/.zshrc: "zsh/.zshrc"
~/.zlogin: "zsh/.zlogin"
~/.zlogout: "zsh/.zlogout"
- shell:
- command: bash "$PWD/scripts/post-install.sh"
stdout: true
stderr: true