| 1 | { |
| 2 | "statusLine": { |
| 3 | "command": "input=$(cat); cwd=$(echo \"$input\" | jq -r '.workspace.current_dir'); branch=$(git -C \"$cwd\" --no-optional-locks branch --show-current 2\u003e/dev/null); if [ -n \"$branch\" ]; then echo \"the-valley ($branch)\"; else echo \"the-valley\"; fi", |
| 4 | "type": "command" |
| 5 | } |
| 6 | } |