You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Unable to vectorise project - argument list too long #64
When I try to vectorise my typescript project with zsh, I get:
vectorcode vectorise src/**/*.ts
zsh: argument list too long: vectorcode
Then I tried with bash, and I get:
bash-3.2$ vectorcode vectorise src/**/*.ts
Host at 127.0.0.1:8000 is unavailable. VectorCode will start its own Chromadb at a random port.
Vectorising files...: 100%|█████████████████████████████████████████████████████████████| 8/8 [00:00<00:00, 19.78it/s]
Added Updated Removed
------- --------- ---------
0 8 0
But there's definitely more than 8 typescript files in my project, is this expected?
Hi, I think this is a restriction from the shell. Please try wrapping the wildcard in quotes:
vectorcode vectorise "src/**/*.ts" -r
The quote will pass the wildcard to VectorCode, which bypasses the shell restriction. The -r flag means recursive, which will go through all sub-directories in src/.
You can also try putting the following content in a .vectorcode/vectorcode.include file (start from the project root):
src/**/*.ts
and run vectorcode vectorise without arguments.
This should have the same effect.
Repository owner locked and limited conversation to collaborators on Apr 6, 2025
Activity
Davidyz commentedon Apr 5, 2025
Hi, I think this is a restriction from the shell. Please try wrapping the wildcard in quotes:
vectorcode vectorise "src/**/*.ts" -rThe quote will pass the wildcard to VectorCode, which bypasses the shell restriction. The
-rflag means recursive, which will go through all sub-directories insrc/.You can also try putting the following content in a
.vectorcode/vectorcode.includefile (start from the project root):and run
vectorcode vectorisewithout arguments.This should have the same effect.