A shitpost program that adds fake stories to ls
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

672 B

Introducing... ls stories!

Have you wanted to see what your friends are up to in their terminals?
Well, wonder no more! I got distracted from important things again and now this exists!

Screenshot of command output


First, create a virtual environment and install the dependencies:

cd path/to/repo

python -m venv venv
source venv/bin/activate

pip install -r requirements.txt

Then, just put this in your .bashrc/.zshrc/etc file and replace the path:

function ls() {
    # ~25% chance of seeing new stories
    [ "$RANDOM" -lt 8191 ] && (cd path/to/repo/ ; ./stories.py )
    command ls $@