def command_chdir(self, target: str) -> None:
        """The chdir command.

        Args:
            target: The target directory to change to.
        """
        self.post_message(
            self.LocalChdirCommand(Path(target or "~").expanduser().resolve())
        )
The chdir command.

        Args:
            target: The target directory to change to.
        
frogmouth/widgets/omnibox.py