gunk-dev/the-valley

settings.json

source6bf8ca46b311main's published tip history
311 bytes
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}