diff options
author | Tom Ryder <tom@sanctum.geek.nz> | 2016-08-23 00:40:25 +1200 |
---|---|---|
committer | Tom Ryder <tom@sanctum.geek.nz> | 2016-08-23 00:40:25 +1200 |
commit | 494e12ccda174cfbd305d8f4c0e5abff8bfe8577 (patch) | |
tree | 7213cb80443d06498f1e219ea389781189734f46 | |
parent | Have xgo(1) handle video with mpv(1) too (diff) | |
download | dotfiles-494e12ccda174cfbd305d8f4c0e5abff8bfe8577.tar.gz dotfiles-494e12ccda174cfbd305d8f4c0e5abff8bfe8577.zip |
Make xgo(1) view plain text in view(1) instead
-rwxr-xr-x | bin/xgo | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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 |