/tests/cpp/

07b159d27f5e'>af21f7d1 ^
445843f2 ^
af21f7d1 ^


445843f2 ^



af21f7d1 ^


694d8485 ^

113bae73 ^
af21f7d1 ^
113bae73 ^
af21f7d1 ^
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
                  
                                                               


               



                                                                                         


        

                           
                                   
    
                                   
  
#!/usr/bin/env zsh
# Helper to more conveniently open commonly-used SubX programs.

if [ $# -eq 0 ]
then
  echo "Usage: $0 <file root without subdirectory or .subx extension>"
  echo
  echo "Naming convention: Files starting with 'ex' will be assumed to live in examples/"
  echo "Other files will be assumed to live in apps/"
  exit 1
fi

if [[ $EDITOR == *'vim'* ]]
then
  $EDITOR -S vimrc.vim apps/$1.subx
else
  $EDITOR              apps/$1.subx
fi