claude-code: fix wrapper to inject --mcp-config after subcommands
Manually wrap program to maintain options called from cli. Signed-off-by: Austin Horstman <khaneliman12@gmail.com>
This commit is contained in:
parent
9379fbf4f5
commit
05a56dbf24
2 changed files with 14 additions and 14 deletions
|
|
@ -1,2 +1,3 @@
|
|||
#! /nix/store/00000000000000000000000000000000-bash/bin/bash -e
|
||||
exec -a "$0" "/nix/store/00000000000000000000000000000000-claude-code/bin/.claude-wrapped" --mcp-config /nix/store/00000000000000000000000000000000-claude-code-mcp-config.json "$@"
|
||||
#!/nix/store/00000000000000000000000000000000-bash/bin/bash
|
||||
exec "/nix/store/00000000000000000000000000000000-claude-code/bin/claude-code" "$@" --mcp-config "/nix/store/00000000000000000000000000000000-claude-code-mcp-config.json"
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue