moved env.zsh to private repo

This commit is contained in:
eeleater 2023-05-02 00:22:27 +02:00
parent c601e75465
commit 94ef22b629
3 changed files with 3 additions and 3 deletions

View file

@ -1,5 +1,5 @@
#!/usr/bin/env bash
excuses_file="$HOME/.local/share/zsh/bofh"
excuses_file="$HOME/.local/share/bofh"
num_lines=$(nl "$excuses_file" | tail -n 1 | awk '{print $1}')
awk 'NR=='$((1 + RANDOM % num_lines ))'{print;exit}' "$excuses_file"