From 7c6d68a58979bcc508f38ee47ab1ad8df90b6b0b Mon Sep 17 00:00:00 2001
From: Oliver Davies <oliver@oliverdavies.dev>
Date: Wed, 28 Aug 2024 13:00:09 +0100
Subject: [PATCH] zsh: add code directory to `CDPATH`

---
 lib/shared/modules/zsh.nix | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/lib/shared/modules/zsh.nix b/lib/shared/modules/zsh.nix
index 2d0894f3..22ffc3e8 100644
--- a/lib/shared/modules/zsh.nix
+++ b/lib/shared/modules/zsh.nix
@@ -6,6 +6,8 @@
     enable = true;
     enableCompletion = true;
 
+    cdpath = [ "~/Code" ];
+
     shellAliases = (import ./zsh/aliases.nix);
 
     localVariables = {