Whats the difference between $ and % in the prompt?
kiedtl opened this issue · comments
Whats the difference between $ and % in the prompt?
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 %
.
Thanks! Awesome prompt BTW.
Thanks!