gopher.sh: fix LESS and colours
authorNiki Roo <roo.niki@gmail.com>
Tue, 10 Apr 2018 11:27:07 +0000 (13:27 +0200)
committerNiki Roo <roo.niki@gmail.com>
Tue, 10 Apr 2018 11:27:07 +0000 (13:27 +0200)
gopher.sh

index b1bda9bca700b5c573eb97715f6b6f5e28210fa3..f430d155355cb21fc703c08437d8663235088439 100755 (executable)
--- a/gopher.sh
+++ b/gopher.sh
@@ -44,7 +44,7 @@ EL=
 if [ "$LINK_COLOR" != "-" ]; then
        SL="`tput setf $LINK_COLOR``tput setaf $LINK_COLOR`"
        EL="`tput init`"
-       LESS="${LESS}-R"
+       export LESS="${LESS}-R"
 fi
 
 PREFIX="[0-9hIg]"