Change the tempd command into a function
diff --git a/scripts/tempd.sh b/scripts/tempd.sh
deleted file mode 100644
index 18faaea..0000000
--- a/scripts/tempd.sh
+++ /dev/null
@@ -1,2 +0,0 @@
-#/usr/bin/env sh
-cd $(mktemp -d)
diff --git a/src/apps/personal/zsh.nix b/src/apps/personal/zsh.nix
index 35be94c..ad970ab 100644
--- a/src/apps/personal/zsh.nix
+++ b/src/apps/personal/zsh.nix
@@ -45,6 +45,10 @@
                 return $(( 128 + $1 ))
             }
 
+            function tempd {
+                cd "$(mktemp -d)"
+            }
+
             # disable sort when completing `git checkout`
             zstyle ':completion:*:git-checkout:*' sort false
             # set descriptions format to enable group support