From 6bd4d716f380efe26cf5038f92952013f74c65f6 Mon Sep 17 00:00:00 2001
From: ThatXliner <bryan.hu.2020@gmail.com>
Date: Sun, 18 Aug 2024 08:32:03 -0700
Subject: [PATCH] Create pkgx.plugin.zsh

---
 plugins/pkgx/pkgx.plugin.zsh | 5 +++++
 1 file changed, 5 insertions(+)
 create mode 100644 plugins/pkgx/pkgx.plugin.zsh

diff --git a/plugins/pkgx/pkgx.plugin.zsh b/plugins/pkgx/pkgx.plugin.zsh
new file mode 100644
index 000000000..b4c574d12
--- /dev/null
+++ b/plugins/pkgx/pkgx.plugin.zsh
@@ -0,0 +1,5 @@
+# If pkgx is not found, don't do the rest of the script
+if (( ! $+commands[pkgx] )); then
+  return
+fi
+source <(pkgx --shellcode)