Commit c46a1c8e authored by Scott Zeid's avatar Scott Zeid

fix error in write script

parent 3c7cbddd
......@@ -13,7 +13,7 @@ EXT=$2
[ -e "$NAME.tex" ] || cp "$TEMPLATE" "$NAME.tex"
[ -e "$NAME.bib" ] || echo "@misc{dummy,title=title}" > "$NAME.bib"
$USE_VIM=0
USE_VIM=0
echo -n "$EDITOR" | grep "vim" && vim --help | grep " -p" && USE_VIM=1
if [ $USE_VIM ]; then
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment