about summary refs log tree commit diff stats
path: root/500fake-screen.mu
Commit message (Expand)AuthorAgeFilesLines
* .Kartik K. Agaram2021-04-211-0/+11
* reimplement pixel graphicsKartik K. Agaram2021-04-191-50/+101
* .Kartik K. Agaram2021-04-191-33/+33
* add some checksKartik K. Agaram2021-04-191-2/+18
* start cleaning up pixel graphicsKartik K. Agaram2021-04-191-1/+1
* Revert "allow drawing all pixels"Kartik K. Agaram2021-04-181-2/+3
* allow drawing all pixelsKartik K. Agaram2021-04-171-3/+2
* shell: horline working nowKartik K. Agaram2021-04-151-1/+9
* shell: don't lose pixel graphics when moving cursorKartik K. Agaram2021-04-141-0/+1
* shell: pixel graphicsKartik K. Agaram2021-04-131-0/+431
21:50:08 -0700 committer Kartik Agaram <vc@akkartik.com> 2018-09-20 21:50:08 -0700 4563' href='/akkartik/mu/commit/subx/edit?h=hlt&id=af21f7d1cde23ae2fc1c4c30d25c07b159d27f5e'>af21f7d1 ^
694d8485 ^
af21f7d1 ^
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
                  
                                                               


               



                                                                                         


        




                               

                    
                                               
    
                                           
  
#!/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
  LOCAL_SETTINGS='-S vimrc.vim'
fi

if [[ $1 == 'ex'* ]]
then
  eval $EDITOR $LOCAL_SETTINGS examples/$1.subx
else
  eval $EDITOR $LOCAL_SETTINGS apps/$1.subx
fi