#!/usr/bin/env zsh# Helper to more conveniently open commonly-used SubX programs.if[$#-eq0]thenecho"Usage: $0 <file root without apps/ subdirectory or .subx extension>"exit1fiif[[$EDITOR==*'vim'*]]then$EDITOR-Svimrc.vimapps/$1.subx
else$EDITORapps/$1.subx
fi