aboutsummaryrefslogtreecommitdiffstats
path: root/Argcfile.sh
diff options
context:
space:
mode:
Diffstat (limited to 'Argcfile.sh')
-rw-r--r--Argcfile.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/Argcfile.sh b/Argcfile.sh
index 7f0a0d2..ba142c4 100644
--- a/Argcfile.sh
+++ b/Argcfile.sh
@@ -452,7 +452,7 @@ clean@agent() {
# @cmd Install this repo to aichat functions_dir
install() {
- functions_dir="$(aichat --info | grep functions_dir | awk '{print $2}')"
+ functions_dir="$(aichat --info | grep -w functions_dir | awk '{print $2}')"
if [[ -z "$functions_dir" ]]; then
_die "error: your aichat version don't support function calling"
fi