From be288d2d4d0557e27325b8ce372eb923f3907bdd Mon Sep 17 00:00:00 2001 From: Tarcisio Gruppi Date: Thu, 12 Nov 2026 17:59:46 -0300 Subject: [PATCH] docs(direnv): update PATH handling due to deprecation of old style in v0.117.0 Improved direnv export handling to use the new style syntax, ensuring correct PATH processing after deprecation. --- cookbook/direnv.md | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) diff --git a/cookbook/direnv.md b/cookbook/direnv.md index 59c059efcef..19145259550 100644 --- a/cookbook/direnv.md +++ b/cookbook/direnv.md @@ -38,10 +38,14 @@ $env.config.hooks.env_change.PWD ++= [{|| return } - direnv export json | from json | default {} | update cells --columns [ PATH ] { - # If direnv changes the PATH, it will become a string and we need to re-convert it to a list - do (env-conversions).path.from_string $in - } | load-env + direnv export json + | from json + | default {} + | update cells { + # If direnv changes the PATH, it will become a string and we need to re-convert it to a list + do (env-conversions).path.from_string $in + } PATH + | load-env }] ```