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
This commit is contained in:
1 parent
28bcea9850
commit
1344c64819
7 files changed
+28
-10
No files matched your search
@@ -15,14 +15,17 @@
|
||||
set -euo pipefail
|
||||
|
||||
# Vault location. SYSJOURNAL_VAULT always wins; otherwise take the first
|
||||
# candidate that exists on this machine. Obsidian-Personal is the cutover
|
||||
# target, so it is preferred wherever it has landed; the pre-split vault is
|
||||
# the fallback for machines that have not synced the split yet, and it is
|
||||
# named Obsidian25 on Linux but Obsidian2 on the MacBook.
|
||||
# candidate on this machine that is an Obsidian vault (has a .obsidian dir).
|
||||
# The split-off personal vault comes first: Obsidian Sync landed it as
|
||||
# Obsidian-Personal on Linux but as plain "Personal" on the MacBook. The
|
||||
# pre-split vault is the fallback for machines that have not synced the split
|
||||
# yet, named Obsidian25 on Linux but Obsidian2 on the MacBook. Requiring
|
||||
# .obsidian stops a generic ~/Documents/Personal folder from being mistaken
|
||||
# for a vault, and stops the MacBook's stale Obsidian2 from winning.
|
||||
sysjournal_default_vault() {
|
||||
local c
|
||||
for c in "Obsidian-Personal" "Obsidian25" "Obsidian2"; do
|
||||
[ -d "$HOME/Documents/$c" ] && { printf '%s' "$HOME/Documents/$c"; return; }
|
||||
for c in "Obsidian-Personal" "Personal" "Obsidian25" "Obsidian2"; do
|
||||
[ -d "$HOME/Documents/$c/.obsidian" ] && { printf '%s' "$HOME/Documents/$c"; return; }
|
||||
done
|
||||
printf '%s' "$HOME/Documents/Obsidian-Personal" # for the error message
|
||||
}
|
||||
|
||||
@@ -1 +1,9 @@
|
||||
{{ .chezmoi.homeDir }}/Documents/Obsidian-Personal/Meta/bin/vault
|
||||
{{- /* 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
|
||||
@@ -93,6 +93,7 @@ core magic-wormhole safe magic-wormhole magic-wormhole snap wormhole on dev
|
||||
core bitwarden-cli safe -snap bitwarden-cli snap bw on ubuntu
|
||||
core mosh safe mosh mosh
|
||||
core nmap safe nmap nmap
|
||||
core wakeonlan safe wakeonlan wakeonlan for the wakeup_tv alias in the private tier's local.zsh
|
||||
core binwalk safe binwalk binwalk
|
||||
core pipx safe pipx pipx
|
||||
core age safe age age general purpose only now
|
||||
|
||||
|
Can't render this file because it contains an unexpected character in line 17 and column 49.
|
Reference in new issue
Block a user