aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorHsieh Chin Fan <pham@topo.tw>2023-03-24 10:11:27 +0800
committerHsieh Chin Fan <pham@topo.tw>2023-03-24 10:11:27 +0800
commit2ddb86eab39298a11d6fed7c29a4752a80430898 (patch)
treef7046a63c09628fac4504490da03edf2e6fb58d2
parent6dbca2cd9caa5dd19a71cf03cf13bddb31e6da75 (diff)
Update
-rwxr-xr-xbin/gpt/gpt2
1 files changed, 0 insertions, 2 deletions
diff --git a/bin/gpt/gpt b/bin/gpt/gpt
index d33e382..51de0a8 100755
--- a/bin/gpt/gpt
+++ b/bin/gpt/gpt
@@ -16,8 +16,6 @@ configurable_options=( behavior temperature max_tokens )
16trap _print_leave_message INT 16trap _print_leave_message INT
17 17
18_check_stacks() { 18_check_stacks() {
19 # Print all available options
20 index=0
21 for command in "${stacks[@]}"; do 19 for command in "${stacks[@]}"; do
22 which "$command" &>/dev/null && continue 20 which "$command" &>/dev/null && continue
23 echo "$command" is needed 21 echo "$command" is needed