theniceboy/claude/scripts/statusline.sh
2025-08-15 11:12:38 -05:00

8 lines
188 B
Bash

#!/bin/bash
# Read the JSON input from stdin
input=$(cat)
# Pass the input to both commands and concatenate their outputs
echo "$input" | ccusage statusline
echo "$input" | ccstatusline