#!/usr/bin/env zsh # Helper to more conveniently open commonly-used SubX programs. if [ $# -eq 0 ] then echo "Usage: $0 " exit 1 fi if [[ $EDITOR == *'vim'* ]] then $EDITOR -S vimrc.vim apps/$1.subx else $EDITOR apps/$1.subx fi