aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTom Ryder <tom@sanctum.geek.nz>2016-08-23 00:40:25 +1200
committerTom Ryder <tom@sanctum.geek.nz>2016-08-23 00:40:25 +1200
commit494e12ccda174cfbd305d8f4c0e5abff8bfe8577 (patch)
tree7213cb80443d06498f1e219ea389781189734f46
parente19dd4b04e85030a3d32cf6b05f67754704f1732 (diff)
downloaddotfiles-494e12ccda174cfbd305d8f4c0e5abff8bfe8577.tar.gz
dotfiles-494e12ccda174cfbd305d8f4c0e5abff8bfe8577.zip
Make xgo(1) view plain text in view(1) instead
-rwxr-xr-xbin/xgo2
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/xgo b/bin/xgo
index d7806cbc..6bb48af6 100755
--- a/bin/xgo
+++ b/bin/xgo
@@ -31,7 +31,7 @@ for url ; do (
;;
text/plain)
# shellcheck disable=SC2016
- urxvt -e sh -c 'curl -- "$1" | "${PAGER:-more}"' \
+ urxvt -e sh -c 'curl -- "$1" | view -' \
_ "$url" && exit
;;
esac