From efcf9c263f7a0ec7d8f471ab167089fa94d3f4f3 Mon Sep 17 00:00:00 2001 From: Luke Smith Date: Wed, 17 Oct 2018 10:56:46 -0400 Subject: [PATCH] no commit name --- lb | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/lb b/lb index cf8ccbf..4076967 100755 --- a/lb +++ b/lb @@ -1,4 +1,4 @@ -#!/usr/bin/env bash +#!/usr/bin/env sh # Set your personal data here: rssfile="rss.xml" @@ -10,12 +10,8 @@ author="Luke Smith<\/a>" dir=$(pwd) draftdir="$dir"/blog/.drafts blogdir="$dir"/blog - # Set vi if $EDITOR not set -if [ -z $EDITOR ]; - then EDITOR="vi"; -fi; - +[ -z $EDITOR ] && EDITOR="vi"; # See other variables defined later, such as `header` and `webdate` for more customizability. getHelp() { \