diff options
author | Kartik Agaram <vc@akkartik.com> | 2020-01-01 17:23:29 -0800 |
---|---|---|
committer | Kartik Agaram <vc@akkartik.com> | 2020-01-01 17:23:29 -0800 |
commit | 113bae7311b63e55e55160970718d19bfeeb56c3 (patch) | |
tree | d2468b58470e173329c7ef6e8da496c2f768b037 /edit | |
parent | 1b050736eea04323e09e5e8e7499c33cee1899d0 (diff) | |
download | mu-113bae7311b63e55e55160970718d19bfeeb56c3.tar.gz |
5856
Diffstat (limited to 'edit')
-rwxr-xr-x | edit | 9 |
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 |