#!/usr/bin/env zsh# Run git commands on a specific example's source.if[$#-eq0]thenecho"g <git command> <args> <target>"exit1fiarg=($*)target=$arg[${#arg[@]}]unset"arg[${#arg[@]}]"if[[$target=='test'*]]thengit${arg[@]}./teensy/$target*.[cs]elsegit${arg[@]}./$target*.subx
fi