summaryrefslogtreecommitdiff
path: root/home
diff options
context:
space:
mode:
authorxyz <gky44px1999@gmail.com>2022-01-25 23:39:51 -0800
committerxyz <gky44px1999@gmail.com>2022-01-25 23:39:51 -0800
commitfa1e450823d0c91f0f6b7e144b7660242444a680 (patch)
tree0cd6e049e5d4b33506df9834af0c8ad7f62995ae /home
parent3d2fdd4c73c15a69951e85fd00d655eb135b9df0 (diff)
wh, fix when pager is "less -FRX" bug
Diffstat (limited to 'home')
-rwxr-xr-xhome/xyz/.local/bin/wh2
1 files changed, 1 insertions, 1 deletions
diff --git a/home/xyz/.local/bin/wh b/home/xyz/.local/bin/wh
index d20f0de6..4206c363 100755
--- a/home/xyz/.local/bin/wh
+++ b/home/xyz/.local/bin/wh
@@ -8,4 +8,4 @@ sgr0="$(tput sgr0)"
for cmd in type whatis whereis which "pacman -Qo --color always"; do
printf '\n%s\n%s\n' "$setaf$cmd $*$sgr0" "$($cmd "$@" 2>&1)"
#printf '\n\033[0;34m%s\033[0m\n%s\n' "$setaf$cmd $*$sgr0" "$($cmd "$@" 2>&1)"
-done | "$PAGER"
+done | $PAGER