diff options
author | Kartik Agaram <vc@akkartik.com> | 2018-07-07 13:54:16 -0700 |
---|---|---|
committer | Kartik Agaram <vc@akkartik.com> | 2018-07-07 13:54:16 -0700 |
commit | bc394aaf39da72d980933a720b6deb8876036c07 (patch) | |
tree | 5da22de61ca44b9126de927d157c003d5808794b /subx/edit | |
parent | bbd9c1f9abf44c90117e0e25b629902f0fb06a73 (diff) | |
download | mu-bc394aaf39da72d980933a720b6deb8876036c07.tar.gz |
4323
Diffstat (limited to 'subx/edit')
-rwxr-xr-x | subx/edit | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/subx/edit b/subx/edit index d229c654..7d09fc17 100755 --- a/subx/edit +++ b/subx/edit @@ -3,8 +3,13 @@ if [ $# -eq 0 ] then - echo "edit <suffix>" + echo "edit <file>" exit 1 fi -eval $EDITOR ./teensy/test$1*.[cs] +if [[ $1 == 'test'* ]] +then + eval $EDITOR ./teensy/$1*.[cs] +fi + +eval $EDITOR ./$1.subx |