Conversation
Notices
-
Embed this notice
?? Humpleupagus ?? (humpleupagus@eveningzoo.club)'s status on Thursday, 09-Nov-2023 13:11:21 JST ?? Humpleupagus ?? @p
Hey... do you happen to know the proper syntax to set prompt to pwd > in the profile for rc shell?- pistolero :thispersondoesnotexist: likes this.
-
Embed this notice
?? Humpleupagus ?? (humpleupagus@eveningzoo.club)'s status on Thursday, 09-Nov-2023 13:32:44 JST ?? Humpleupagus ?? I am defeated. pistolero :thispersondoesnotexist: likes this. -
Embed this notice
Mr. Bacon (tony@clew.lol)'s status on Thursday, 09-Nov-2023 13:32:45 JST Mr. Bacon $ rm -rf /Users/humpleupagus/desktop pistolero :thispersondoesnotexist: likes this. -
Embed this notice
pistolero :thispersondoesnotexist: (p@freespeechextremist.com)'s status on Thursday, 09-Nov-2023 19:44:51 JST pistolero :thispersondoesnotexist: @Humpleupagus holy shote dude is you runnin plan 9 or p9p
Anyway, rc doesn't do complex prompts. The best you can do is something like overriding cd. I don't know of anyone that does that in Plan 9 but Inferno does that kind of thing by default (though it's to set the window title rather than changing the prompt). I tested this out and it works:
fn cd { builtin cd $* && prompt = ( `{pwd}^'% ' $prompt(2) ) } -
Embed this notice
?? Humpleupagus ?? (humpleupagus@eveningzoo.club)'s status on Friday, 10-Nov-2023 06:38:49 JST ?? Humpleupagus ?? 9front during my non-working hours. pistolero :thispersondoesnotexist: likes this. -
Embed this notice
pistolero :thispersondoesnotexist: (p@freespeechextremist.com)'s status on Friday, 10-Nov-2023 20:31:42 JST pistolero :thispersondoesnotexist: @Humpleupagus :bwksmug: -
Embed this notice
tsoifan1997 (sysrq@lab.nyanide.com)'s status on Friday, 10-Nov-2023 20:35:51 JST tsoifan1997 @p @Humpleupagus
>I don't know of anyone that does that in Plan 9
I did at one point.pistolero :thispersondoesnotexist: likes this. -
Embed this notice
?? Humpleupagus ?? (humpleupagus@eveningzoo.club)'s status on Friday, 10-Nov-2023 20:53:40 JST ?? Humpleupagus ?? I have three kids, a wife, my telephone rings, people knock on the door, the cat wants in and out, in and out, and in and out. Sometimes I just need something to tell me.... pistolero :thispersondoesnotexist: likes this. -
Embed this notice
tsoifan1997 (sysrq@lab.nyanide.com)'s status on Friday, 10-Nov-2023 21:02:26 JST tsoifan1997 @Humpleupagus @p
:irvingwat:pistolero :thispersondoesnotexist: likes this. -
Embed this notice
pistolero :thispersondoesnotexist: (p@freespeechextremist.com)'s status on Friday, 10-Nov-2023 21:02:31 JST pistolero :thispersondoesnotexist: @Humpleupagus @sysrq
fourside.gifロミンちゃん likes this. -
Embed this notice
Peter (mcmlxviiotg@nicecrew.digital)'s status on Friday, 10-Nov-2023 21:16:50 JST Peter >the cat wants in and out, in and out, and in and out. ロミンちゃん likes this.