Composio powers 1000+ toolkits, tool search, context management, authentication, and a sandboxed workbench to help you build AI agents that turn intent into action.
TypeScript agentic-aiagentsaiai-agentsaiagentsdeveloper-toolsfunction-callinggpt-4javascriptjsllmllmopsmcppythonremote-mcp-serverssetypescript
fix(install): use exact line matching for shell config marker detection
jkomyno0192b2ba8336
diff --git a/install.sh b/install.shindex 696e80eae..7a39b7e91 100755--- a/install.sh+++ b/install.sh@@ -194,7 +194,7 @@ elsefish_config=$HOME/.config/fish/config.fishif [[ -w $fish_config ]] || [[ -w $(dirname "$fish_config") ]]; thenmkdir -p "$(dirname "$fish_config")"- if ! grep -qF "$marker" "$fish_config" 2>/dev/null; then+ if ! grep -qxF "$marker" "$fish_config" 2>/dev/null; then{ echo -e "\n$marker"; for cmd in "${commands[@]}"; do echo "$cmd"; done; } >>"$fish_config"info "Added \"$(tildify "$COMPOSIO_INSTALL_DIR")\" to \$PATH in \"$(tildify "$fish_config")\""else@@ -214,7 +214,7 @@ elsezsh_config=$HOME/.zshrcif [[ ! -f $zsh_config && -w $(dirname "$zsh_config") ]]; then touch "$zsh_config"; fiif [[ -w $zsh_config ]]; then- if ! grep -qF "$marker" "$zsh_config" 2>/dev/null; then+ if ! grep -qxF "$marker" "$zsh_config" 2>/dev/null; then{ echo -e "\n$marker"; for cmd in "${commands[@]}"; do echo "$cmd"; done; } >>"$zsh_config"info "Added \"$(tildify "$COMPOSIO_INSTALL_DIR")\" to \$PATH in \"$(tildify "$zsh_config")\""else@@ -238,7 +238,7 @@ elseset_manually=truefor bash_config in "${bash_configs[@]}"; doif [[ -w $bash_config ]]; then- if ! grep -qF "$marker" "$bash_config" 2>/dev/null; then+ if ! grep -qxF "$marker" "$bash_config" 2>/dev/null; then{ echo -e "\n$marker"; for cmd in "${commands[@]}"; do echo "$cmd"; done; } >>"$bash_config"info "Added \"$(tildify "$COMPOSIO_INSTALL_DIR")\" to \$PATH in \"$(tildify "$bash_config")\""else