From: Michael D. Lowis Date: Mon, 4 Nov 2019 13:10:44 +0000 (-0500) Subject: tweaked rule for man page references X-Git-Url: https://git.mdlowis.com/?a=commitdiff_plain;h=0f0a74afdecddf89dcf0b56128cfc41fb3ef91e4;p=projs%2Ftide.git tweaked rule for man page references --- 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 */