Skip to content

zsh

zsh documentation

footman._stubs.zsh.Zsh

Bases: Tool

__call__

__call__(command: str, /, **flags: Any) -> Result

Run a command string in zsh — zsh -c "<command>".

A real shell: pipes, redirects, globbing and $VAR all work. Reach for this when you deliberately want a shell; run("…") stays shell-free.

Parameters:

Name Type Description Default
command str

the command line to run in zsh.

required