From bdbe40299e6c340e3e77f87bd996a3d7624156c0 Mon Sep 17 00:00:00 2001 From: yage Date: Thu, 1 Sep 2022 07:43:34 -0600 Subject: [PATCH] scwrypts update; use .secret scwrypts env if exists --- config/dotwryn.env.zsh | 7 +++++-- zsh/plugins/scwrypts | 2 +- 2 files changed, 6 insertions(+), 3 deletions(-) diff --git a/config/dotwryn.env.zsh b/config/dotwryn.env.zsh index ef7dd15..21ac66a 100644 --- a/config/dotwryn.env.zsh +++ b/config/dotwryn.env.zsh @@ -57,8 +57,11 @@ zstyle ':fzf-tab:*' continuous-trigger '/' # scwrypts EXTERNAL_PLUGINS+=("$DOTWRYN/zsh/plugins/scwrypts/scwrypts.plugin.zsh") -export SCWRYPTS_ENV="local.$(hostnamectl --static)" -[ ! -f $HOME/.config/scwrypts/env/$SCWRYPTS_ENV ] && export SCWRYPTS_ENV='local' +for e in \ + "local.$(hostnamectl --static).secret" \ + "local.$(hostnamectl --static)" \ + "local" +do; export SCWRYPTS_ENV="$e"; [ -f "$HOME/.config/scwrypts/env/$e" ] && break; done export S3_SYNC_MEDIA=( #'.local/share/dolphin-emu' diff --git a/zsh/plugins/scwrypts b/zsh/plugins/scwrypts index 20b7cc3..73e26a2 160000 --- a/zsh/plugins/scwrypts +++ b/zsh/plugins/scwrypts @@ -1 +1 @@ -Subproject commit 20b7cc32eb1d884672913ebeace285a465a539dd +Subproject commit 73e26a2ecb049189ac6845ecce0528857096e444