aboutsummaryrefslogtreecommitdiffhomepage
path: root/bin
diff options
context:
space:
mode:
Diffstat (limited to 'bin')
-rw-r--r--bin/gpt/shellrc2
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/gpt/shellrc b/bin/gpt/shellrc
index eeeec5d..d7fcb61 100644
--- a/bin/gpt/shellrc
+++ b/bin/gpt/shellrc
@@ -4,7 +4,7 @@ gptt() {
4 vim $file && cat $file | gpt --skip 4 vim $file && cat $file | gpt --skip
5} 5}
6# Ask GPT what's wrong with the last command 6# Ask GPT what's wrong with the last command
7h() { 7gpth() {
8 printf '%s\n\n%s' "$(fc -s 2>&1 >/dev/null)" "Tell me what's wrong with the command above" | \ 8 printf '%s\n\n%s' "$(fc -s 2>&1 >/dev/null)" "Tell me what's wrong with the command above" | \
9 gpt --skip 9 gpt --skip
10} 10}