From a4c18f6e11d37d8dfca507d3264e98d3b468d082 Mon Sep 17 00:00:00 2001 From: Jason Morganson <128727+jasonmorganson@users.noreply.github.com> Date: Wed, 10 Apr 2024 07:31:13 -0400 Subject: [PATCH] Cache pkgx shellcode --- home/dot_bashrc | 2 +- home/dot_cache/pkgx/shellcode.sh.tmpl | 1 + home/dot_config/zsh/dot_zshrc | 2 +- 3 files changed, 3 insertions(+), 2 deletions(-) create mode 100644 home/dot_cache/pkgx/shellcode.sh.tmpl diff --git a/home/dot_bashrc b/home/dot_bashrc index 21feb1f4..b5c39357 100644 --- a/home/dot_bashrc +++ b/home/dot_bashrc @@ -1,3 +1,3 @@ . ~/.profile -eval "$(pkgx --shellcode)" #docs.pkgx.sh/shellcode +. $XDG_CACHE_HOME/pkgx/shellcode.sh diff --git a/home/dot_cache/pkgx/shellcode.sh.tmpl b/home/dot_cache/pkgx/shellcode.sh.tmpl new file mode 100644 index 00000000..fe3a0135 --- /dev/null +++ b/home/dot_cache/pkgx/shellcode.sh.tmpl @@ -0,0 +1 @@ +{{ output "pkgx" "--shellcode" }} diff --git a/home/dot_config/zsh/dot_zshrc b/home/dot_config/zsh/dot_zshrc index f75cc4dd..4b0a4e13 100644 --- a/home/dot_config/zsh/dot_zshrc +++ b/home/dot_config/zsh/dot_zshrc @@ -1 +1 @@ -source <(pkgx --shellcode) #docs.pkgx.sh/shellcode +source $XDG_CACHE_HOME/pkgx/shellcode.sh