shithub: snippets

Download patch

ref: d9ff373a3ca08c97227c031a8d43bd7b1eae16cb
parent: 930433a467b174dd86081fbec4079805f31cb388
author: Sigrid Solveig Haflínudóttir <[email protected]>
date: Mon Nov 29 12:17:03 EST 2021

gridup: remove stupid nick completion

--- a/gridup
+++ b/gridup
@@ -17,13 +17,6 @@
 chan=$1
 label $chan
 echo JOIN $nick to chat >>/n/chat.9p.zone/$chan
-cd /tmp/chatnicks/$chan && rm -f *
-{
-	mkdir -p /tmp/chatnicks/$chan && \
-	cd /tmp/chatnicks/$chan && \
-	rm -f *
-	awk '/^[-a-zA-Z_0-9]+ [→•|] / { system("touch " $1 ":") }' </n/chat.9p.zone/$chan
-} &
 cat /n/chat.9p.zone/$chan &
 while() cat | sed '1s/^/'$nick' → /' >>/n/chat.9p.zone/$chan
 ...