From 9b7283a567f350c8f4776a57945c91c3847c9866 Mon Sep 17 00:00:00 2001 From: Hsieh Chin Fan Date: Fri, 9 Aug 2024 21:10:31 +0800 Subject: Update --- bin/gpt/shellrc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'bin') 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() { vim $file && cat $file | gpt --skip } # Ask GPT what's wrong with the last command -h() { +gpth() { printf '%s\n\n%s' "$(fc -s 2>&1 >/dev/null)" "Tell me what's wrong with the command above" | \ gpt --skip } -- cgit v1.2.3-70-g09d2