diff options
author | terminaldweller <thabogre@gmail.com> | 2022-08-04 17:53:12 +0000 |
---|---|---|
committer | terminaldweller <thabogre@gmail.com> | 2022-08-04 17:53:12 +0000 |
commit | 112736aea70a5241fcf638f4f6244cbeb2b32fdd (patch) | |
tree | 2215fdbe8ed49f036cb0afe65d1181edad9455e5 /bin/xman | |
parent | updates (diff) | |
download | scripts-112736aea70a5241fcf638f4f6244cbeb2b32fdd.tar.gz scripts-112736aea70a5241fcf638f4f6244cbeb2b32fdd.zip |
updates
Diffstat (limited to 'bin/xman')
-rwxr-xr-x | bin/xman | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -1,7 +1,7 @@ #!/bin/sh # xmandoc MANPAGE - read manpage of possibly not installed package -xlocate "man/man..\?/$1\.[0-9]" 2>/dev/null | +SOCKS_PROXY=socks5://127.0.0.1:9050 xlocate "man/man..\?/$1\.[0-9]" 2>/dev/null | { grep . || { echo "xmandoc: No entry for $1 found." 1>&2 exit 1 @@ -9,7 +9,7 @@ xlocate "man/man..\?/$1\.[0-9]" 2>/dev/null | while read -r pkg page; do page=${page#* -> } # xbps-query --cat=$page ${pkg%-*} | mandoc -O width=205 -a - xbps-query --cat=$page ${pkg%-*} | + SOCKS_PROXY=socks5://127.0.0.1:9050 xbps-query --cat=$page ${pkg%-*} | mandoc -O width=205 -c | col -b | vim - -M -R \ -c 'set ft=man nomod nolist' \ |