about summary refs log tree commit diff
path: root/sh/chatgpt
diff options
context:
space:
mode:
authorXiao Pan <gky44px1999@gmail.com>2023-06-13 19:37:13 -0700
committerXiao Pan <gky44px1999@gmail.com>2023-06-13 19:37:13 -0700
commite8b8bf2fe0d49b4b7d07085cb5995c69cce985b9 (patch)
treed99500ab1da42f47ab8dc9a43b47d75586b4e06b /sh/chatgpt
parent2f7efafcb4f26b183da641bafb00165a03c4210c (diff)
update
Diffstat (limited to 'sh/chatgpt')
-rwxr-xr-xsh/chatgpt3
1 files changed, 3 insertions, 0 deletions
diff --git a/sh/chatgpt b/sh/chatgpt
new file mode 100755
index 0000000..2c3836d
--- /dev/null
+++ b/sh/chatgpt
@@ -0,0 +1,3 @@
+#!/bin/sh
+
+OPENAI_KEY="$(pass openai_key)" /usr/bin/chatgpt