From 0f0a74afdecddf89dcf0b56128cfc41fb3ef91e4 Mon Sep 17 00:00:00 2001 From: "Michael D. Lowis" Date: Mon, 4 Nov 2019 08:10:44 -0500 Subject: [PATCH] tweaked rule for man page references --- src/fetch.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/fetch.c b/src/fetch.c index 3b15297..589a17c 100644 --- a/src/fetch.c +++ b/src/fetch.c @@ -59,11 +59,10 @@ static Rule*** BuiltinRules = (Rule**[]){ // &(Rule){ LAUNCH, "find Code -type f -name \"*$data\" | xargs -r edit", NULL }, // &(Rule){ COMPLETE, NULL, NULL } // }, - (Rule*[]){ /* Open man pages in a tide window */ &(Rule){ ISSET, "BROWSER", NULL }, &(Rule){ MATCHES, "data", "(.+)\\(([0-9]+)\\)" }, - &(Rule){ LAUNCH, "man -Pcat $M2 \"$M1\" | col -b | tide -", NULL }, + &(Rule){ LAUNCH, "man $M2 \"$M1\" | col -b | tide -", NULL }, &(Rule){ COMPLETE, NULL, NULL } }, (Rule*[]){ /* If it's an existing directory, open it with system default */ -- 2.52.0