shithub: rc

Download patch

ref: 864c67531f8f2144c9979a486afd3165c13ee816
parent: d208afc56c6a82f00bd21264301b4c915e4eb3d6
author: qwx <qwx@sciops.net>
date: Sun Apr 4 08:25:40 EDT 2021

fn: simpler hg and acid (thanks sigrid) aliases

--- a/fn
+++ b/fn
@@ -44,6 +44,7 @@
 }
 # dump c function body (thanks aiju)
 fn catfn{ sed -n '/^'$1'\(/ {x;p;x;};/^'$1'\(/,/^}/p;h' *.c }
+fn acid{ acid -l thread }
 
 # 
 
@@ -88,7 +89,7 @@
 
 # sys
 # bind hg repo to root and execute hg command
-fn fhg{ bind -ac /dist/plan9front /; fn fhg; hg $* }
+fn hg{ bind -ac /dist/plan9front /; fn hg; hg $* }
 # hangup connections to given hosts
 fn nctl{ echo 'echo hangup >/net/'^`{netstat -n|sed -n 's,^([^ ]+) +([^ ]+) +[^ ]+ +[^ ]+ +[^ ]+ +'$1'.*,\1/\2/ctl\;,p'} }
 # show announced ports and established connections