commit 12cf7936ef753a402e87647f03a4bd713661a7a7
parent c522f9bb3911abf4edcc75fec61e0fd12500c257
Author: hhvn <dev@hhvn.uk>
Date: Tue, 8 Feb 2022 11:52:25 +0000
.s/plumb: use zygo for gopher type '0'
Diffstat:
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/.scripts/plumb b/.scripts/plumb
@@ -159,8 +159,8 @@ do
fmatches "HTML" &&
plumb gui 'xprop -id $(cat /tmp/tabbed.xid) >/dev/null && $proxy surf -e $(cat /tmp/tabbed.xid) $arg || { >/tmp/tabbed.xid tabbed -c & $proxy surf -e $(sleep 1 && cat /tmp/tabbed.xid) $arg; }'
- matches "^gophers?://(.*/[17+](/|$)|[^/]*$)" &&
- plumb terminal '$proxy cgo $arg'
+ matches "^gophers?://(.*/[17+0](/|$)|[^/]*$)" &&
+ plumb terminal '$proxy zygo $arg'
matches "^gophers?://" &&
fetch
@@ -228,7 +228,7 @@ do
isfile &&
plumb terminal 'cgo -f $arg'
- matches "\.(atom|rss)$|rss\.xml$" ||
+ matches "\.(atom|rss)$|rss\.xml$|atom\.xml$" ||
fmatches "atom|rss" ||
fmagic "<feed.*xmlns.*http://www.w3.org/2005/Atom" ||
fmagic "<rss" &&