shithub: front

Download patch

ref: 576bf82b1b825d719a53c069da74d81ca7517dcb
parent: 3167f5f7e3d2363ab57a107c838e1c5ef1fcda80
author: Ori Bernstein <ori@eigenstate.org>
date: Sun Aug 3 18:36:22 EDT 2025

newuser: default to $"sysname^'% ' for the prompt

when you have many cpu servers, it would be a shame
to know the sysname of the machine you're on. I'm all
about shame.

--- a/sys/lib/newuser
+++ b/sys/lib/newuser
@@ -43,8 +43,8 @@
 		}
 	} 
 	bind -a /mnt/term/dev /dev
-	prompt=('cpu% ' '	')
-	fn cpu%{ $x^* }
+	prompt=($"sysname'% ' '	')
+	fn $"sysname^%{ $x^* }
 	if(! test -e /mnt/term/dev/wsys){
 		# call from drawterm
 		if(test -e /mnt/term/dev/secstore){
--