From e1dc68b7583f4fa161a1606c554bcefc5870f389 Mon Sep 17 00:00:00 2001 From: huaxin Date: Mon, 16 Feb 2026 08:23:38 +0800 Subject: [PATCH] =?UTF-8?q?=E5=B0=9D=E8=AF=95=E4=BF=AE=E5=A4=8D=E8=93=9D?= =?UTF-8?q?=E7=89=99=E6=AD=A3=E5=9C=A8=E8=BF=9E=E6=8E=A5=E7=9A=84=E7=8A=B6?= =?UTF-8?q?=E6=80=81?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- files_download.txt | 2 +- test-direnv.sh | 31 +++++++++++++++++++++++++++++++ 2 files changed, 32 insertions(+), 1 deletion(-) create mode 100755 test-direnv.sh diff --git a/files_download.txt b/files_download.txt index 4dbec6f..aa04ec7 100644 --- a/files_download.txt +++ b/files_download.txt @@ -1 +1 @@ -http://xplayer-ota.pureroad.cn/files_20260215_120844.tar.xz +http://xplayer-ota.pureroad.cn/files_20260216_082213.tar.xz diff --git a/test-direnv.sh b/test-direnv.sh new file mode 100755 index 0000000..7bc43c2 --- /dev/null +++ b/test-direnv.sh @@ -0,0 +1,31 @@ +#!/bin/zsh + +echo "=== Testing direnv setup ===" +echo "" + +echo "1. Shell: $SHELL" +echo "2. Current directory: $(pwd)" +echo "" + +echo "3. Checking if direnv hook is loaded:" +type _direnv_hook 2>/dev/null && echo " ✓ direnv hook found" || echo " ✗ direnv hook NOT found" +echo "" + +echo "4. Checking .envrc status:" +direnv status | grep -E "(Found RC|allowed)" +echo "" + +echo "5. Current QINIU_BUCKET value:" +echo " QINIU_BUCKET=${QINIU_BUCKET:-[not set]}" +echo "" + +echo "6. Manually trigger direnv:" +eval "$(direnv export zsh 2>&1)" +echo " QINIU_BUCKET=${QINIU_BUCKET:-[not set]}" +echo "" + +echo "=== Instructions ===" +echo "If you don't see direnv loading automatically:" +echo "1. Exit and re-enter the directory: cd .. && cd -" +echo "2. Or reload shell: exec zsh" +echo "3. You should see: direnv: loading ~/Projects/xplayer-ota/.envrc"