sudofox / shell-mommy Goto Github PK
View Code? Open in Web Editor NEWMommy is here for you on the command line ~ ❤️
Mommy is here for you on the command line ~ ❤️
Hi, nice project!
I wanted to let you know there's a way to integrate with PROMPT_COMMAND without any changes to the script.
in .bashrc:
source /path/to/mommy.sh
export PROMPT_COMMAND="mommy \\$\\(exit \$?\\); $PROMPT_COMMAND"
You could add this note in the Readme to let users know.
I'm surprised I didn't add this before lol, I'll see about adding it soon, should be easy.
I'll start us off with Samuel L Jackson. This example uses no substitutions, but you could replace son
if you wanted to.
export SHELL_MOMMYS_NEGATIVE_RESPONSES=(
"You call that effort? This is some weak-ass shit."
"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 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."
)
export SHELL_MOMMYS_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."
)
I have setup shell-mommy in my user's local bin folder. The file permissions should be correct, ie : execution permissions are granted for the user owner of the file. Though, I do no get an output at all in my Konsole if I use mommy ls
.
My version of bash is 5.1.16, I am on Arch Linux.
I have tried changing the shebang on the script for /usr/bin/bash
but it still does not work.
THis is not a bug, this is a wishlist.
Send mommy to fish, please.
Signal Interrupt (Exit Code 130) is generally not a failure per say.
While Shell Mommy's words of comfort and encouragement are lovely, nothing wrong necessarily happened here, this was a CTRL+C, an intentional interruption of the last command.
Since fish has a non-POSIX compliant syntax, I took it upon myself to try to port this (fun) project. Here's the link to my repository. Currently it's barely functional but I do plan to add rest of the features as soon as I have some free time.
I can't seem to get this to work on zsh...
user@theSource:~/.scripts/shell-mommy(master○) » source /home/user/.scripts/shell-mommy/shell-mommy.sh
user@theSource:~/.scripts/shell-mommy(master○) » mommy ls
.rw-r--r-- 51k user 12 Jan 13:55 preview.png
.rw-r--r-- 2.9k user 12 Jan 13:55 README.md
.rw-r--r-- 5.4k user 12 Jan 13:55 shell-mommy.sh
success:3: = not found
user@theSource:~/.scripts/shell-mommy(master○) »
~/shell-mommy master source ./shell-mommy.sh
~/shell-mommy master mommy ls
.rw-r--r-- 51k user 4 Jan 17:42 preview.png
.rw-r--r-- 2.9k user 4 Jan 17:42 README.md
.rw-r--r-- 5.4k user 4 Jan 17:42 shell-mommy.sh
success:3: = not found
~/shell-mommy master
This is better than therapy. Who would have guesses that a script could make me feel better. Thank you
this might be stupid to say but is their a windows tutorial
my issue is with this repo's existence.
god is dead and we killed him
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.