From 6d40f3fa639df90a16291afd149a1c393b0a4414 Mon Sep 17 00:00:00 2001 From: eeleater Date: Tue, 2 May 2023 00:21:54 +0200 Subject: [PATCH] moved env.zsh to private repo --- .chezmoiexternal.toml | 3 --- dot_local/bin/executable_bofh | 4 ++-- 2 files changed, 2 insertions(+), 5 deletions(-) delete mode 100644 .chezmoiexternal.toml diff --git a/.chezmoiexternal.toml b/.chezmoiexternal.toml deleted file mode 100644 index 0686ab9..0000000 --- a/.chezmoiexternal.toml +++ /dev/null @@ -1,3 +0,0 @@ -[".local/share/zsh/config"] - type = "git-repo" - url = "git@git.eeleater.org:eeleater/dotfiles_private.git" diff --git a/dot_local/bin/executable_bofh b/dot_local/bin/executable_bofh index d1ca04e..c8a022c 100644 --- a/dot_local/bin/executable_bofh +++ b/dot_local/bin/executable_bofh @@ -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" \ No newline at end of file +awk 'NR=='$((1 + RANDOM % num_lines ))'{print;exit}' "$excuses_file"