Update CLAUDE.md and script templates

- Modified CLAUDE.md configuration
- Updated basic.sh template script
- Updated research.sh template script

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
Yan Lin 2025-07-30 09:54:09 +02:00
parent 112ca64e67
commit 6f8b598d81
3 changed files with 7 additions and 1 deletions

View file

@ -1,7 +1,7 @@
## Nix Configuration System
- This is my nix configuration system. Whenever you need to introduce update to my config, remember to check the current config.
- When you are going to introduce update to my nix config, do it on a experimental branch (use 'nightly'), and commit and push to that branch after you perform `hms` to at least check the home-manager switch can pass. Never work on the master branch which I will perform merge manually.
- When you are going to introduce any update, do it on a experimental branch (use 'nightly'), and commit and push to that branch after you perform `hms` to at least check the home-manager switch can pass. Never work on the master branch which I will perform merge manually.
- After you introduce updates, remember to reflect those updates in the readme, should they bring any changes.
## Testing Considerations

View file

@ -17,6 +17,8 @@ tmux new-session -d -s $SESSION_NAME -c "$CODE_PATH"
zoxide add "$CODE_PATH" 2>/dev/null || true
tmux rename-window -t $SESSION_NAME:1 "nvim"
tmux send-keys -t $SESSION_NAME:1 "nvim" C-m
sleep 0.5 # Brief delay to ensure nvim loads
tmux send-keys -t $SESSION_NAME:1 " e"
tmux new-window -t $SESSION_NAME:2 -n "ai" -c "$CODE_PATH"
tmux send-keys -t $SESSION_NAME:2 "claude -c" C-m
tmux split-window -t $SESSION_NAME:2 -h -c "$CODE_PATH"

View file

@ -22,6 +22,8 @@ zoxide add "$CODE_PATH" 2>/dev/null || true
zoxide add "$PAPER_PATH" 2>/dev/null || true
tmux rename-window -t $SESSION_NAME:1 "code"
tmux send-keys -t $SESSION_NAME:1 "nvim" C-m
sleep 0.5 # Brief delay to ensure nvim loads
tmux send-keys -t $SESSION_NAME:1 " e"
tmux new-window -t $SESSION_NAME:2 -n "code-ai" -c "$CODE_PATH"
tmux send-keys -t $SESSION_NAME:2 "claude -c" C-m
tmux split-window -t $SESSION_NAME:2 -h -c "$CODE_PATH"
@ -34,6 +36,8 @@ tmux send-keys -t $SESSION_NAME:3 "lazygit" C-m
tmux new-window -t $SESSION_NAME:4 -n "paper" -c "$PAPER_PATH"
tmux select-window -t $SESSION_NAME:4
tmux send-keys -t $SESSION_NAME:4 "nvim" C-m
sleep 0.5 # Brief delay to ensure nvim loads
tmux send-keys -t $SESSION_NAME:4 " e"
tmux new-window -t $SESSION_NAME:5 -n "paper-ai" -c "$PAPER_PATH"
tmux send-keys -t $SESSION_NAME:5 "claude -c" C-m
tmux split-window -t $SESSION_NAME:5 -h -c "$PAPER_PATH"