blob: 2004db6eb07b32150d4e21556a172494e3bd2f0d (
plain)
1
2
3
4
5
6
7
8
9
|
#!/usr/bin/env bash
# https://docs.anthropic.com/en/docs/claude-code/statusline
input="$(cat)"
cwd="$(echo "$input" | jq -r '.cwd')"
model="$(echo "$input" | jq -r '.model.display_name')"
echo "[$model] ${cwd/#$HOME/\~}"
|