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
on' href='/akspecs/ranger/blame/AUTHORS?id=a9a75dde4cb02d63c1cf07884413e4d4d0b7aa32'>^
dc92d375 ^



dc92d375 ^

565247df ^
5b14517a ^
cceb5d67 ^

912e26b4 ^
cceb5d67 ^
dc92d375 ^
4d814e1e ^
8263cbac ^
dc92d375 ^
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