A shitpost program that adds fake stories to ls
Go to file
Agatha Lovelace 6cfe8a3e2e
initial commit uwu
2020-11-29 17:30:29 +02:00
.gitignore initial commit uwu 2020-11-29 17:30:29 +02:00
README.md initial commit uwu 2020-11-29 17:30:29 +02:00
requirements.txt initial commit uwu 2020-11-29 17:30:29 +02:00
stories.py initial commit uwu 2020-11-29 17:30:29 +02:00

README.md

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

Installation

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 $@
}