diff --git a/packages/owletto b/packages/owletto index 2b74ac24c..f611c1dd4 160000 --- a/packages/owletto +++ b/packages/owletto @@ -1 +1 @@ -Subproject commit 2b74ac24ca3a98ac5193cfd0b7f106e6fcded0ce +Subproject commit f611c1dd497daf4464878dd70f62a59795b8b501 diff --git a/scripts/task-setup.sh b/scripts/task-setup.sh index 92e691529..5901369a0 100755 --- a/scripts/task-setup.sh +++ b/scripts/task-setup.sh @@ -25,20 +25,25 @@ # # Optional shell-function sugar — `make task-setup` does the setup, then you # still have to `cd && claude` by hand. If you want one command that -# also moves your shell and launches claude, add this to ~/.zshrc: +# also moves your shell and launches a tool, add this to ~/.zshrc: # # task-start() { -# local name="$1"; local repo="$HOME/Code/lobu" +# local name="$1"; shift +# local repo="$HOME/Code/lobu" # "$repo/scripts/task-setup.sh" "$name" || return $? -# cd "$repo/.claude/worktrees/$name" && exec claude +# cd "$repo/.claude/worktrees/$name" && exec "${@:-claude}" # } # task-resume() { -# local name="$1"; local repo="$HOME/Code/lobu" +# local name="$1"; shift +# local repo="$HOME/Code/lobu" # [[ -d "$repo/.claude/worktrees/$name" ]] \ # || { echo "no such worktree: $name"; return 1; } -# cd "$repo/.claude/worktrees/$name" && exec claude +# cd "$repo/.claude/worktrees/$name" && exec "${@:-claude}" # } # +# Usage: `task-start fix-sse-leak` (defaults to claude), or +# `task-start fix-sse-leak codex` / `task-start fix-sse-leak zsh`. +# # The cd + exec must live in the shell function (not a Makefile target or this # script) so that the parent terminal actually moves and Warp/iTerm detect the # new working directory.