User avatar
Mangotoucher 666 🧄 @bean@twoot.site
2mo
As a treat for today, I did crimes

(yes that's a fish port of shell-mommy/cargo-mommy)
:blobfoxheartcute@mk.absturztau.be:1
1
1
2
1
User avatar
Mangotoucher 666 🧄 @bean@twoot.site
2mo
(I had to remove the "❤️" emoji because konsole can't handle it.

also tbh I'm not a fan of
every single message ending in ~❤️.

but maybe I'm actually a bad little boy, who knows?)
:blobfoxheartcute@mk.absturztau.be:1
2
0
1
1
User avatar
Mangotoucher 666 🧄 @bean@twoot.site
2mo
random choice makes a lot of this very easy.

the one thing really missing is proper format strings - currently if you do
MOMMYS_ROLE believes in you, and you replace "MOMMYS_ROLE" and then send it off to printf... well, what if MOMMYS_ROLE contains a format character?

Or what if "MOMMYS_ROLE" contains the string "AFFECTIONATE_TERM" and then we insert the AFFECTIONATE_TERM
after?

At one point I considered writing a
string format subcommand to avoid all that, but tbh I've decided that mommy-based format string injection isn't a huge vulnerability at this time.
:blobfoxheartcute@mk.absturztau.be:1
1
0
1
1
User avatar
Mangotoucher 666 🧄 @bean@twoot.site
2mo
Okay first thing I'm doing here after using this in practice is to only fire it randomly.

It's really pretty annoying after
every command (but then I'm currently executing "true" and "false" a lot just to test it).

So let's try only showing it 10% of the time or so?
:blobfoxheartcute@mk.absturztau.be:1
1
0
1
1
User avatar
Mangotoucher 666 🧄 @bean@twoot.site
2mo
Another fish feature I keep thinking about which would be useful for this: set --default.

Basically instead of introducing that weird
${foo:-bar} syntax that the posix heads have, set a variable and use a value only if it hasn't been set yet:

set --default --local MOMMYS_PRONOUNS her their

which sets $MOMMYS_PRONOUNS as a local variable (in any case), and uses the values "her" and "their" if it didn't exist yet. So you guarantee a local variable, but keep the values you want.

That's useful for customization, otherwise you end up doing
set -l pronouns her; if set -q MOMMYS_PRONOUNS; set pronouns $MOMMYS_PRONOUNS; end which gets old fast if you have 5 config variables to set.

Or maybe I'm just too fish-brained?
:blobfoxheartcute@mk.absturztau.be:1
2
0
1
1
User avatar
Mangotoucher 666 🧄 @bean@twoot.site
2mo
Reviews are in
:blobfoxheartcute@mk.absturztau.be:1
2
0
1
1
User avatar
illy [Shrimple-mode] protomoji_orange_flag_lesbian @illyBytes@shrimp.imsofucking.gay
3w
@bean Wait holy shit i need this immediately the next time i use my computer :3
0
0
0
0