mirror of
https://github.com/eth-p/bat-extras.git
synced 2026-09-10 07:16:25 -04:00
batpipe: Fix incorrect bash install commands
This commit is contained in:
parent
2aff613888
commit
672b4814ec
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in a new issue