#!/usr/bin/env zsh # Open a specific example. if [ $# -eq 0 ] then echo "edit " exit 1 fi if [[ $1 == 'test'* ]] then eval $EDITOR ./teensy/$1*.[cs] exit $? fi eval $EDITOR ./$1.subx