Themecompat is not avaliable for csh.
Themecompat were created to enable prompts to look the same on bash, zsh, ksh (and the currently unsupported 'ash') without writing multiple versions, an idea was also to support future shells with other expandable characters than bash and zsh.
The module "themecompat" provides the following variables
Static variables is encapsulated in double quotation marks '' while dynamic variables are encapsulated in single quoutation marks '.
When declaring the prompt variable one must be careful not to redeclare these values, to achieve this, one can ``undeclare'' the variable temporary and start the declaration after the themecompat variable has been inserted! This example shows a correct ``undeclaration'' in the $PROMPT variable:
PROMPT=''foo''$w''baz ''
- end -
Thomas Eriksson 2004-06-23