updated antidote config somewhat

This commit is contained in:
eeleater 2023-04-30 23:09:06 +02:00
parent 7e33d7c962
commit ba8cf2c09f
27 changed files with 361 additions and 178 deletions

View file

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

View file

@ -1,4 +1,4 @@
#!/usr/bin/zsh
#!/usr/bin/env zsh
# Just print a hacker quote randomly when open a terminal.
#