Skip to content

Instantly share code, notes, and snippets.

View owen26's full-sized avatar

Xinan owen26

  • Bloomberg
View GitHub Profile
#!/bin/bash
# Single line: cwd@branch Model tokens (%used) 5h % 7d % extra
# Segments are separated by a single space; color differences distinguish them.
set -f # disable globbing
input=$(cat)
if [ -z "$input" ]; then
printf "Claude"