git: 9front

Download patch

ref: f001011894f1089237ee0770bd60383761c7ec5b
parent: afc273c902a973c71d91378cd43024c78a5658ff
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){
--