moved env.zsh to private repo

This commit is contained in:
eeleater 2023-05-02 00:22:27 +02:00
parent c601e75465
commit 94ef22b629
3 changed files with 3 additions and 3 deletions

View file

@ -1,3 +1,3 @@
[".local/share/zsh"] [".local/share/zsh/config"]
type = "git-repo" type = "git-repo"
url = "git@git.eeleater.org:eeleater/dotfiles_private.git" url = "git@git.eeleater.org:eeleater/dotfiles_private.git"

View file

@ -6,7 +6,7 @@ defer-more = """{% for file in files %} zsh-defer -t 0.5 source "{{ file }}" {%
# own files # own files
[plugins.localenv] [plugins.localenv]
local = "~/.local/share/zsh/" local = "~/.local/share/zsh/config"
use = ["env.zsh"] use = ["env.zsh"]
[plugins.p10kconfig] [plugins.p10kconfig]

View file

@ -1,5 +1,5 @@
#!/usr/bin/env bash #!/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}') num_lines=$(nl "$excuses_file" | tail -n 1 | awk '{print $1}')
awk 'NR=='$((1 + RANDOM % num_lines ))'{print;exit}' "$excuses_file" awk 'NR=='$((1 + RANDOM % num_lines ))'{print;exit}' "$excuses_file"