summaryrefslogtreecommitdiff
path: root/home/xyz/.local/bin/wh
diff options
context:
space:
mode:
authorxyz <gky44px1999@gmail.com>2022-09-20 00:57:37 -0700
committerxyz <gky44px1999@gmail.com>2022-09-20 00:57:37 -0700
commited2cfd30dd5ee6fa96a921ba2dea82daa456eaef (patch)
treedfbe98187d444207854669083424bca459830504 /home/xyz/.local/bin/wh
parenta5ae6342715a4eeae55e45e35c94cc5db5b5657e (diff)
better expansion
Diffstat (limited to 'home/xyz/.local/bin/wh')
-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 4206c363..d20f0de6 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"