pingCommand property

String get pingCommand

A lightweight completion marker (without trailing fields) to enqueue after commands that cannot change the prompt's cwd/git state.

It emits only the token (split across two printf args, like command), so the client learns the command finished — and can repaint the prompt after its output — without paying for the git queries command runs.

Implementation

String get pingCommand {
  final (a, b) = tokenHalves;
  return "printf '%s%s\\n' '$a' '$b'";
}