about summary refs log tree commit diff stats
path: root/edit
diff options
context:
space:
mode:
authorKartik Agaram <vc@akkartik.com>2020-01-01 17:23:29 -0800
committerKartik Agaram <vc@akkartik.com>2020-01-01 17:23:29 -0800
commit113bae7311b63e55e55160970718d19bfeeb56c3 (patch)
treed2468b58470e173329c7ef6e8da496c2f768b037 /edit
parent1b050736eea04323e09e5e8e7499c33cee1899d0 (diff)
downloadmu-113bae7311b63e55e55160970718d19bfeeb56c3.tar.gz
5856
Diffstat (limited to 'edit')
-rwxr-xr-xedit9
1 files changed, 2 insertions, 7 deletions
diff --git a/edit b/edit
index dc434f58..400ab370 100755
--- a/edit
+++ b/edit
@@ -12,12 +12,7 @@ fi
 
 if [[ $EDITOR == *'vim'* ]]
 then
-  LOCAL_SETTINGS='-S vimrc.vim'
-fi
-
-if [[ $1 == 'ex'* ]]
-then
-  eval $EDITOR $LOCAL_SETTINGS examples/$1.subx
+  $EDITOR -S vimrc.vim apps/$1.subx
 else
-  eval $EDITOR $LOCAL_SETTINGS apps/$1.subx
+  $EDITOR              apps/$1.subx
 fi