Files
dotfiles-public/dot_local/bin/symlink_vault.tmpl
T
benandClaude Opus 5.5 1344c64819 feat: glm settings, wakeonlan, MacBook vault path; drop OpenAI key
- dot_claude/settings-glm.json: the model map glm() passes to claude,
  carried from ben-pc; no other machine had it, so glm() failed everywhere
- core/wakeonlan in the dotup manifest, for the private tier's wakeup_tv
- sysjournal and the vault symlink now find the MacBook's personal vault,
  which Obsidian Sync named "Personal" rather than "Obsidian-Personal";
  candidates must contain .obsidian, so a plain ~/Documents/Personal folder
  or the stale Obsidian2 can no longer win
- zshrc: remove the zsh-ai openai provider case; OPENAI_API_KEY is gone

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_013FbsgpRXBucM8DAwLARhA6
2026-11-18 22:43:58 -05:00

10 lines
535 B
Cheetah

{{- /* The personal vault is Obsidian-Personal on Linux but "Personal" on the
MacBook (Obsidian Sync named it there). Same rule as sysjournal: first
candidate that is a vault wins, Obsidian-Personal when neither is. */ -}}
{{- $docs := joinPath .chezmoi.homeDir "Documents" -}}
{{- $vault := joinPath $docs "Obsidian-Personal" -}}
{{- if and (not (stat (joinPath $vault ".obsidian"))) (stat (joinPath $docs "Personal" ".obsidian")) -}}
{{- $vault = joinPath $docs "Personal" -}}
{{- end -}}
{{ $vault }}/Meta/bin/vault