moved env.zsh to private repo

This commit is contained in:
eeleater 2023-05-02 00:21:54 +02:00
parent 1f04c5b3d8
commit 6d40f3fa63
2 changed files with 2 additions and 5 deletions

View file

@ -1,3 +0,0 @@
[".local/share/zsh/config"]
type = "git-repo"
url = "git@git.eeleater.org:eeleater/dotfiles_private.git"

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"
awk 'NR=='$((1 + RANDOM % num_lines ))'{print;exit}' "$excuses_file"