All my favorite Claude Code hacks in one spot: https://randsinrepose.com/archives/better-faster-and-even-more/
@rands for your `claude` wrapper, you might want to do your title restoration in a `trap` handler so that it still runs even if the wrapped process fails.
trap "printf '\033]0;%s\007' \"${PWD##*/}\"" RETURN
