Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion statusline.sh
Original file line number Diff line number Diff line change
Expand Up @@ -200,7 +200,7 @@ needs_refresh=true
usage_data=""

# Check cache — shared across all Claude Code instances to avoid rate limits
if [ -f "$cache_file" ]; then
if [ -f "$cache_file" ] && [ -s "$cache_file" ]; then
cache_mtime=$(stat -c %Y "$cache_file" 2>/dev/null || stat -f %m "$cache_file" 2>/dev/null)
now=$(date +%s)
cache_age=$(( now - cache_mtime ))
Expand Down