ref: 4a9712d069fd0a213c3250a6f3dbcbe00dabbb56
parent: 10532b3cf050139c7b9695d5f3a83f15b3646261
author: Ori Bernstein <ori@eigenstate.org>
date: Wed Aug 27 19:07:11 EDT 2025
newuser: fix variable expansion we want '$sysname' to be a variable, so don't lose the '$' when we expand it.
--- a/sys/lib/newuser
+++ b/sys/lib/newuser
@@ -43,8 +43,8 @@
}
}
bind -a /mnt/term/dev /dev
- prompt=($"sysname'% ' ' ')
- fn $"sysname^%{ $x^* }
+ prompt=($x^"sysname'% ' ' ')
+ fn $x^"sysname^%{ $x^* }
if(! test -e /mnt/term/dev/wsys){
# call from drawterm
if(test -e /mnt/term/dev/secstore){
--
⑨