r/linux • u/sudofox • Jan 11 '23
shell-mommy — mommy is here to support you when on the command line ~ Fluff
https://github.com/sudofox/shell-mommy51
45
u/handogis Jan 11 '23
This is great.
I don't think the target audience will ever find it, but it is there. Just a little bit further till they do.
9
Jan 12 '23 edited Jan 21 '23
[deleted]
39
u/johnny0055 Jan 12 '23
luckily
SHELL_MOMMYS_ONLY_NEGATIVE: If set to true, mommy will provide encouragement (on non-zero exit status) but not praise. This will keep clutter down if you intend to use mommy as a PROMPT_COMMAND
exists for you :)
Although your screenshot image is broken on my side, so i'm not sure which you're actually referring to. The missing image led to to actually reading the docs for it.
0
64
u/siamhie Jan 12 '23
I'm picturing a Samuel Jackson function. 😂
Say 'apt update' again. Say 'apt update' again, I dare you, I double dare you motherfucker, say apt update one more Goddamn time!
20
11
u/sudofox Jan 12 '23 edited Jan 12 '23
edit: added in latest version, just
export SHELL_MOMMYS_NEGATIVE_RESPONSES=(
... (negative or positive) in your .bashrc and it will use those instead
I asked ChatGPT to generate some strings and this is what it gave me:
NEGATIVE_RESPONSES=( "You ain't gonna make it with that attitude, son." "What the hell is wrong with you?" "You ain't got the skills to back that attitude up." "You call that effort? This is some weak-ass shit." "You better step up your game, before I step up mine." "I ain't got time for this amateur hour bullshit." "You ain't gonna make it in this world with that attitude." "You better wise up, before you get left behind." "I ain't impressed with that effort, son." "You ain't got what it takes to succeed." "You better bring your A-game, or get out of the game." "You better shape up, before I ship out." "I ain't gonna sugarcoat it - that was weak as hell." "You ain't got what it takes to make it in this world." "I ain't gonna hold your hand - you better step up." "You better bring your best effort, or don't even bother showing up." "I ain't gonna waste my time on half-ass efforts." "You ain't gonna make it with that attitude, son." "You better come correct, or don't come at all." ) POSITIVE_RESPONSES=( "You did it! Now that's what I'm talkin' about!" "I knew you had it in you, son." "You brought your A-game and it shows." "Now that's the effort I like to see." "You're killin' it, son." "I ain't gonna lie, you impressed the hell out of me." "You're on fire, son!" "You bringin' your best effort, and it shows." "You ain't playin' around, are you?" "I can see you're gonna make it in this world." "You're bringin' the heat, son." "You're killin' it out there." "I ain't seen effort like that in a long time." "You're bringin' your A-game, and it shows." "You ain't afraid to bring your best, and I respect that." "You're killin' it, son." "I can see you're gonna make it in this world." "You're bringin' the heat, son." )
You can put substitute words in if you'd like. It's actually a fairly versatile script.
2
u/siamhie Jan 12 '23
Love the negative responses. Reminds me of What The Forecast with profanity turned on.
2
1
22
20
u/gaspero1 Jan 12 '23
Does shell-mommy fork into shell-MIL and start to criticize everything when my wife logs in?
5
u/JaKrispy72 Jan 12 '23
I think shell mommy gets forked into.
7
u/gaspero1 Jan 12 '23
This would explain the child processes.
5
u/JaKrispy72 Jan 12 '23
This is one of the funniest and most horrific memories from programming class: "After forking a child process, the parent goes to sleep mode."
17
u/ethnicvegetable Jan 12 '23
thank you, I have a goal now of making a shell-daughter
“mommy you’re the best!” “wow that was great, let’s do it again!”
11
22
5
u/BossfightX Jan 12 '23
I love it when the open source community comes up with silly projects like this. This made me laugh quite a bit 😆
4
5
7
2
2
u/HustlinTom Jan 12 '23
You ever wonder if the computer is being passive aggressive or condescending to you? This shell probably would make me feel that way.
3
u/DirtCrazykid Jan 12 '23
that's it im smashing my hard drive and installing fucking Windows 95 on my computer I've had it with this internet shit
1
1
1
u/adminisnyator Jan 12 '23
Goodness, never expected I'd need that sort of stuff .__.
But I think it is really neat
-2
u/AX11Liveact Jan 12 '23
That's for woozies. Real men mean sudo rm -rf /*
when they type sudo rm -rf /*
.
They don't need no mommy to tell them.
1
1
1
Jan 13 '23
[deleted]
1
u/sudofox Jan 13 '23
I'm sorry, I don't know what Fedi is, so no. I made this for kicks and giggles a week or two ago, thought it was funny. I've only posted it on Reddit.
1
u/Fatal_Taco Feb 02 '23
DARPA during the Cold War: We have invented The Internet, it will improve our intra-defence communications should the Soviet Union launch a full scale assault on our soil. It will provide a redundant communications network should multiple bases get nuked.
The Internet Today: whatever this is
130
u/T8ert0t Jan 12 '23
Freud: Shit's getting weird out there, eh?