Bourne-style shells (sh, ksh, bash, and the like) use $ as their default prompt character. csh-style shells use % by default. zsh shares features of both families of shells, and it uses % as its prompt character.
The Polyglot Prompt simply uses the prompt character that each shell would use by default. So you'll see $ for all shells except zsh, which uses %.
Bourne-style shells (
sh
,ksh
,bash
, and the like) use$
as their default prompt character.csh
-style shells use%
by default.zsh
shares features of both families of shells, and it uses%
as its prompt character.The Polyglot Prompt simply uses the prompt character that each shell would use by default. So you'll see
$
for all shells exceptzsh
, which uses%
.