lb

Unnamed repository; edit this file 'description' to name the repository.
Log | Files | Refs | README | LICENSE

commit 565f507b9502855dfee739164cf9645b5ccec39e
parent 4ab26d06169864bcc80a41287f41c93d83f881f4
Author: Luke Smith <luke@lukesmith.xyz>
Date:   Sat,  8 Sep 2018 10:57:26 -0400

Merge pull request #5 from djames1/editor-fix

Added check just in case $EDITOR environment variable is not set
Diffstat:
Mlb | 5+++++
1 file changed, 5 insertions(+), 0 deletions(-)

diff --git a/lb b/lb @@ -11,6 +11,11 @@ dir=$(pwd) draftdir="$dir"/blog/.drafts blogdir="$dir"/blog +# Set vi if $EDITOR not set +if [ -z $EDITOR ]; + then EDITOR="vi"; +fi; + # See other variables defined later, such as `header` and `webdate` for more customizability. getHelp() { \