commit 19c181ae3751ab36e980b5a50fc510decb2f2128
parent 548cd797197094cb69fae0fab6e1bec457bf51df
Author: Alex Balgavy <alex@balgavy.eu>
Date: Fri, 4 Dec 2020 14:09:26 +0100
cheat: fix pager
Former-commit-id: 05483441493bd9d551f0526c1033fff5b5c86249
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/scripts/cheat b/scripts/cheat
@@ -5,4 +5,4 @@ if ! command -v curl &>/dev/null; then
fi
! [ $# -ge 1 ] && echo "Argument required." && exit 1
-curl -Ls cheat.sh/"$1" | ${PAGER:-less -R}
+curl -Ls cheat.sh/"$1" | less -iR