fix: command formatting for user commands (#7002)

This commit is contained in:
jif-oai
2025-11-20 17:29:15 +01:00
committed by GitHub
parent b5dd189067
commit 888c6dd9e7
3 changed files with 31 additions and 1 deletions

View File

@@ -117,7 +117,8 @@ impl ExecCell {
}
pub(super) fn is_exploring_call(call: &ExecCall) -> bool {
!call.parsed.is_empty()
!matches!(call.source, ExecCommandSource::UserShell)
&& !call.parsed.is_empty()
&& call.parsed.iter().all(|p| {
matches!(
p,