PS1 is not specific to bash, but it is related only to shells based on the original Unix Bourne Shell, sh. This includes ksh, bash, ash and zsh.

The BSD Unix C shell (csh) and its derivate tcsh use another set of environment variables to define the appearance of its command prompt: prompt, prompt2 and prompt3.