summaryrefslogtreecommitdiff
path: root/dotfiles
diff options
context:
space:
mode:
authorCraig Jennings <c@cjennings.net>2026-01-17 17:55:18 -0600
committerCraig Jennings <c@cjennings.net>2026-01-17 17:55:18 -0600
commitc1a98d820da06476d459e47ba012c8a9f557e31c (patch)
treefeaf62f898667e5fd0d756e050ba7b9723d082be /dotfiles
parent5aaac2f401e96e4d0750f9d30d331650460c2fcb (diff)
dotfiles: ai-assistants prompt and formatting improvements
Diffstat (limited to 'dotfiles')
-rwxr-xr-xdotfiles/system/.local/bin/ai-assistants30
1 files changed, 15 insertions, 15 deletions
diff --git a/dotfiles/system/.local/bin/ai-assistants b/dotfiles/system/.local/bin/ai-assistants
index 8210320..51028fe 100755
--- a/dotfiles/system/.local/bin/ai-assistants
+++ b/dotfiles/system/.local/bin/ai-assistants
@@ -5,23 +5,23 @@ SESSION="ai-assistants"
# If session exists, attach to it
if tmux has-session -t "$SESSION" 2>/dev/null; then
- tmux attach-session -t "$SESSION"
- exit 0
+ tmux attach-session -t "$SESSION"
+ exit 0
fi
# Define projects: name and directory
projects=(
- "health:~/projects/health"
- "finances:~/projects/finances"
- "danneel:~/projects/danneel"
- "jr-estate:~/projects/jr-estate"
- "kit:~/projects/kit"
- "homelab:~/projects/homelab"
- "nextjob:~/projects/nextjob"
+ "health:~/projects/health"
+ "finances:~/projects/finances"
+ "danneel:~/projects/danneel"
+ "jr-estate:~/projects/jr-estate"
+ "kit:~/projects/kit"
+ "homelab:~/projects/homelab"
+ "career:~/projects/career"
)
# Claude command to run in each window
-CLAUDE_CMD='claude "Please read ./docs/protocols.org and ./docs/NOTES.org, then begin the session start workflow"'
+CLAUDE_CMD='claude "Read docs/protocols.org and docs/NOTES.org, follow instructions exactly, then begin the session-start workflow"'
# Create session with first project
first="${projects[0]}"
@@ -33,11 +33,11 @@ tmux send-keys -t "$SESSION:$name" "$CLAUDE_CMD" Enter
# Create remaining windows
for project in "${projects[@]:1}"; do
- name="${project%%:*}"
- dir="${project#*:}"
- dir="${dir/#\~/$HOME}"
- tmux new-window -t "$SESSION" -n "$name" -c "$dir"
- tmux send-keys -t "$SESSION:$name" "$CLAUDE_CMD" Enter
+ name="${project%%:*}"
+ dir="${project#*:}"
+ dir="${dir/#\~/$HOME}"
+ tmux new-window -t "$SESSION" -n "$name" -c "$dir"
+ tmux send-keys -t "$SESSION:$name" "$CLAUDE_CMD" Enter
done
# Select first window and attach