updated sheldon zsh config
This commit is contained in:
parent
94ef22b629
commit
5b8b457d3c
8 changed files with 13 additions and 6 deletions
|
@ -2,4 +2,5 @@
|
|||
|
||||
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"
|
||||
echo -n "Daily Excuse: "
|
||||
awk 'NR=='$((1 + RANDOM % num_lines ))'{print;exit}' "$excuses_file"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue