summaryrefslogtreecommitdiff
path: root/home/xyz
diff options
context:
space:
mode:
authorXiao Pan <gky44px1999@gmail.com>2023-03-27 02:56:34 -0700
committerXiao Pan <gky44px1999@gmail.com>2023-03-30 01:42:06 -0700
commit8d2c2bf4e713236c06099dd943bf912a8396e254 (patch)
tree9d49004390634960aa5a5234315772aa3df5e865 /home/xyz
parent6b2f9d9e15d8385bb6bc9270ae0bcdfef5440bd0 (diff)
add chatgpt wrapper script
Diffstat (limited to 'home/xyz')
-rwxr-xr-xhome/xyz/.local/bin/chatgpt3
1 files changed, 3 insertions, 0 deletions
diff --git a/home/xyz/.local/bin/chatgpt b/home/xyz/.local/bin/chatgpt
new file mode 100755
index 00000000..2c3836de
--- /dev/null
+++ b/home/xyz/.local/bin/chatgpt
@@ -0,0 +1,3 @@
+#!/bin/sh
+
+OPENAI_KEY="$(pass openai_key)" /usr/bin/chatgpt