Agatha Lovelace 6cfe8a3e2e | ||
---|---|---|
.gitignore | ||
README.md | ||
requirements.txt | ||
stories.py |
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!
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 $@
}