ref: 81cd5a1a4b808fc39e5e2e13c2487aafd6c60206
parent: 7505ac99c50c13b1194be300c3b1ace76c35d4f6
author: qwx <qwx@sciops.net>
date: Thu Jul 22 21:40:46 EDT 2021
fn: add git setup
--- a/fn
+++ b/fn
@@ -89,6 +89,7 @@
# sys
# bind hg repo to root and execute hg command
fn hg{ bind -ac /dist/plan9front /; fn hg; hg $* }
+fn git{ bind -ac /dist/plan9front / }
# 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