batpipe: Fix incorrect bash install commands

This commit is contained in:
Ethan P 2021-04-04 14:20:11 -07:00
parent 2aff613888
commit 672b4814ec
No known key found for this signature in database
GPG Key ID: 6963FD04F6CF35EA

View File

@ -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