about summary refs log tree commit diff stats
diff options
context:
space:
mode:
-rwxr-xr-xedit10
1 files changed, 8 insertions, 2 deletions
diff --git a/edit b/edit
index aa9ccff7..57c665c9 100755
--- a/edit
+++ b/edit
@@ -7,9 +7,15 @@ then
   exit 1
 fi
 
+TARGET=apps/$1.mu
+if [[ -e apps/$1.subx  &&  ! -e apps/$1.mu ]]
+then
+  TARGET=apps/$1.subx
+fi
+
 if [[ $EDITOR == *'vim'* ]]
 then
-  $EDITOR -S vimrc.vim apps/$1.subx
+  $EDITOR -S vimrc.vim $TARGET
 else
-  $EDITOR              apps/$1.subx
+  $EDITOR              $TARGET
 fi
anger.ext.command_parser.html?h=v1.1.0&id=62cd83bace8e77cd1ff7028da6cf65d0d1defa27'>62cd83ba ^
b3556b21 ^
62cd83ba ^



b3556b21 ^
62cd83ba ^






4c13e1f2 ^

c9383c72 ^







4c13e1f2 ^





ef0157ff ^
4c13e1f2 ^









ef0157ff ^
4c13e1f2 ^










c9383c72 ^

4c13e1f2 ^

c9383c72 ^

4c13e1f2 ^







c9383c72 ^







4c13e1f2 ^
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87