From 94ef22b62904246bd622bfef525b7358fad6fba2 Mon Sep 17 00:00:00 2001 From: eeleater Date: Tue, 2 May 2023 00:22:27 +0200 Subject: [PATCH] moved env.zsh to private repo --- .chezmoiexternal.toml | 2 +- dot_config/sheldon/plugins.toml | 2 +- dot_local/bin/executable_bofh | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.chezmoiexternal.toml b/.chezmoiexternal.toml index 233b503..0686ab9 100644 --- a/.chezmoiexternal.toml +++ b/.chezmoiexternal.toml @@ -1,3 +1,3 @@ -[".local/share/zsh"] +[".local/share/zsh/config"] type = "git-repo" url = "git@git.eeleater.org:eeleater/dotfiles_private.git" diff --git a/dot_config/sheldon/plugins.toml b/dot_config/sheldon/plugins.toml index 7b2c650..bba71ef 100644 --- a/dot_config/sheldon/plugins.toml +++ b/dot_config/sheldon/plugins.toml @@ -6,7 +6,7 @@ defer-more = """{% for file in files %} zsh-defer -t 0.5 source "{{ file }}" {% # own files [plugins.localenv] -local = "~/.local/share/zsh/" +local = "~/.local/share/zsh/config" use = ["env.zsh"] [plugins.p10kconfig] diff --git a/dot_local/bin/executable_bofh b/dot_local/bin/executable_bofh index d1ca04e..14f1a51 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