shell-daddy

Crates.ioshell-daddy
lib.rsshell-daddy
version0.1.3
sourcesrc
created_at2023-03-25 20:34:16.342011
updated_at2023-03-25 21:06:28.247609
descriptionDaddy's here to support you when commands~
homepage
repositoryhttps://github.com/caverym/shell-daddy
max_upload_size
id820508
size11,253
Avery Murray (caverym)

documentation

README

cargo-daddy

Daddy's here to support you when running commands~ ❤️

based on and forked from cargo-mommy

Installation

Install shell-daddy like you would any other cargo crate~

> cargo install shell-daddy

Usage

Run whatever command you would normally~

> dnf update

Error: This command has to be run with superuser privileges (under the root user on most systems).

daddy knows his little girl can do better~ ❤️

>_

Configuration

Shell setup~ In bash, use export PROMPT_COMMAND="shell-daddy \$?" in your .bashrc. This setup will vary depending on shell.

Daddy will read the following environment variables to make his messages better for you~ ❤️

  • SHELL_DADDYS_LITTLE - what to call you~ (default: "girl")
  • SHELL_DADDYS_PRONOUNS - what pronouns daddy will use for themself~ (default: "his")
  • SHELL_DADDYS_ROLES - what role daddy will have~ (default "daddy")

All of these options can take a / separated list. Daddy will randomly select one of them whenever he talks to you~

For example, the phrase "daddy loves his little girl~ ❤️" is "CARGO_DADDYS_ROLE loves CARGO_DADDYS_PRONOUNS little CARGO_DADDYS_LITTLE~ ❤️"

So if you set CARGO_DADDYS_ROLES="daddy", CARGO_DADDYS_PRONOUNS="his/their", and CARGO_DADDYS_LITTLE="boy/pet/baby" then you might get any of

  • daddy loves their little boy~ ❤️
  • daddy loves his little pet~ ❤️
  • daddy loves their little baby~ ❤️

And so on~ ❤️

Commit count: 17

cargo fmt