From d00096b0ba9d75c8c8d2c872051ed3dcf7b8b7d5 Mon Sep 17 00:00:00 2001 From: Evie Litherland-Smith Date: Tue, 15 Oct 2024 07:12:50 +0100 Subject: [PATCH] Set PYTHONPATH using shellHook in pyshell template --- templates | 3 +++ 1 file changed, 3 insertions(+) diff --git a/templates b/templates index bf370fc..49a5e14 100644 --- a/templates +++ b/templates @@ -194,6 +194,9 @@ nix-mode > "]" n > "))" n > "];" n + > "shellHook = ''" n + > "export PYTHONPATH=$(readlink -f ./):$PYTHONPATH" n + > "'';"n > "}") python-base-mode