aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorHsieh Chin Fan <pham@topo.tw>2023-03-26 23:29:10 +0800
committerHsieh Chin Fan <pham@topo.tw>2023-03-26 23:29:10 +0800
commit13881f9a0a133b66a80064dbb6f1c62adf26e71f (patch)
tree4448109fed527215619523ad57fb2c05dd5b8cd3
parentba73463f86bb37fd6386f0e1a19aadbdd3db3ea7 (diff)
Update
-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