Skip to content

Commit 49e3934

Browse files
jdeveraclaude
andcommitted
Shell: Add Obsidian vault directory env vars (macOS only)
Co-authored-by: Claude (claude-opus-4-6) <noreply@anthropic.com>
1 parent 5801662 commit 49e3934

3 files changed

Lines changed: 12 additions & 0 deletions

File tree

home/.chezmoiignore

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,8 @@
1414
Library/
1515
.bash.d/050_ssh.sh
1616
.config/zsh/zsh.d/050_ssh.zsh
17+
.bash.d/020_dirs_obsidian.sh
18+
.config/zsh/zsh.d/020_dirs_obsidian.zsh
1719
{{ end }}
1820

1921

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
# Obsidian vault directories (macOS/iCloud)
2+
3+
export OBSIDIAN_VAULTS_DIR="$HOME/Library/Mobile Documents/iCloud~md~obsidian/Documents"
4+
export OBSIDIAN_VAULT_HOMELAB="$OBSIDIAN_VAULTS_DIR/Homelab"
5+
export OBSIDIAN_VAULT_JDBRAIN="$OBSIDIAN_VAULTS_DIR/JdBrain"
Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
# Obsidian vault directories (macOS/iCloud)
2+
3+
export OBSIDIAN_VAULTS_DIR="$HOME/Library/Mobile Documents/iCloud~md~obsidian/Documents"
4+
export OBSIDIAN_VAULT_HOMELAB="$OBSIDIAN_VAULTS_DIR/Homelab"
5+
export OBSIDIAN_VAULT_JDBRAIN="$OBSIDIAN_VAULTS_DIR/JdBrain"

0 commit comments

Comments
 (0)