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
Shell ! command does not honour my local aliases #4351
Activity
github-actions commentedon Nov 15, 2025
This issue might be a duplicate of existing issues. Please check:
/bin/shwhat is not bash :-) #3479: Both issues are related to shell command execution not using the user's actual shell environment (zsh/bash) with their custom configurations like aliases. Issue Opencode bash tool spawn user commands using/bin/shwhat is not bash :-) #3479 identifies the root cause - OpenCode uses '/bin/sh' instead of the user's $SHELL environment, which doesn't load .zshrc/.bashrc files where aliases are defined.Feel free to ignore if none of these address your specific case.
[-]Shell ! command doe snot honour my local aliases[/-][+]Shell ! command does not honour my local aliases[/+]