aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-rw-r--r--bin/gpt/shellrc2
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/gpt/shellrc b/bin/gpt/shellrc
index 5d70dc6..1cdbce9 100644
--- a/bin/gpt/shellrc
+++ b/bin/gpt/shellrc
@@ -3,4 +3,4 @@ h() {
3 printf '%s\n\n%s' "$(fc -s 2>&1 >/dev/null)" "Tell me what's wrong with the command above" | \ 3 printf '%s\n\n%s' "$(fc -s 2>&1 >/dev/null)" "Tell me what's wrong with the command above" | \
4 gpt --skip 4 gpt --skip
5} 5}
6trap 'echo -e "\e[31m---Error: press h to get help from AI---\e[0m"' ERR 6#trap 'echo -e "\e[31m---Error: press h to get help from AI---\e[0m"' ERR