Update .config/sheldon/plugins.toml
Update .config/zsh/env.zsh Add .config/zsh/files/compinit.zsh Add .config/zsh/files/sshcomp.zsh Update .config/zsh/rc.zsh Update .config/zsh/.zprofile Remove .config/zsh/.zsh_plugins.txt Remove .config/zsh/zsh_plugins.txt Update .local/bin/bofh Change attributes of .config/zsh/files/aliases.zsh Change attributes of .config/zsh/files/distroicon.zsh Change attributes of .config/zsh/files/keybinds.zsh Change attributes of .config/zsh/files/transfer.zsh Change attributes of .config/zsh/profile.zsh
This commit is contained in:
parent
1e10bd5622
commit
5c73c42276
14 changed files with 63 additions and 79 deletions
|
@ -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"
|
Loading…
Add table
Add a link
Reference in a new issue