Update .config/zsh/env.zsh
Update .config/zsh/rc.zsh Update .config/zsh/zsh_plugins.txt Add .local/bin/bofh
This commit is contained in:
parent
b9a71fee6b
commit
23bdb145e0
4 changed files with 18 additions and 17 deletions
4
dot_local/bin/executable_bofh
Normal file
4
dot_local/bin/executable_bofh
Normal file
|
@ -0,0 +1,4 @@
|
|||
#!/usr/bin/env bash
|
||||
excuses_file="/usr/share/doc/bofh/excuses"
|
||||
num_lines=$(nl $excuses_file | tail -n 1 | awk '{print $1}')
|
||||
awk 'NR=='$((1 + RANDOM % num_lines ))'{print;exit}' $excuses_file
|
Loading…
Add table
Add a link
Reference in a new issue