]> git.mdlowis.com Git - projs/tide.git/commitdiff
tweaked rule for man page references
authorMichael D. Lowis <mike@mdlowis.com>
Mon, 4 Nov 2019 13:10:44 +0000 (08:10 -0500)
committerMichael D. Lowis <mike@mdlowis.com>
Mon, 4 Nov 2019 13:10:44 +0000 (08:10 -0500)
src/fetch.c

index 3b15297591be6468e7cf18f5c7f4aaa7a64424ca..589a17c93168e1e603ae41887f2b3cdde18a7d4b 100644 (file)
@@ -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 */