From 672b4814ecc0f52113d2fe5a1246f6071108ce6b Mon Sep 17 00:00:00 2001 From: Ethan P Date: Sun, 4 Apr 2021 14:20:11 -0700 Subject: [PATCH] batpipe: Fix incorrect bash install commands --- src/batpipe.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/batpipe.sh b/src/batpipe.sh index 4f44429..7f19dc0 100755 --- a/src/batpipe.sh +++ b/src/batpipe.sh @@ -81,8 +81,8 @@ if [[ "$#" -eq 0 ]]; then printc '%{YELLOW}set -e %{CLEAR}LESSCLOSE;\n' ;; *) # Bash-like - printc '%{YELLOW}LESSOPEN=%{CYAN}"|%s %%s"%{CLEAR};\n' "$SELF" - printc '%{YELLOW}export%{CLEAR} LESSOPEN\n' "$SELF" + printc '%{MAGENTA}LESSOPEN%{YELLOW}=%{CYAN}"|%s %%s"%{CLEAR};\n' "$SELF" + printc '%{YELLOW}export%{CLEAR} LESSOPEN;\n' "$SELF" printc '%{YELLOW}unset%{CLEAR} LESSCLOSE;\n' ;; esac